From: divverent Date: Fri, 10 Apr 2009 19:44:53 +0000 (+0000) Subject: also detect being part of a warsow install X-Git-Tag: svn-r421~103 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=3c3668d11c87278c855b8e4866b2bf10b5247313;p=xonotic%2Fnetradiant.git also detect being part of a warsow install git-svn-id: svn://svn.icculus.org/netradiant/trunk@317 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/radiant/environment.cpp b/radiant/environment.cpp index 58a405dd..220a884f 100644 --- a/radiant/environment.cpp +++ b/radiant/environment.cpp @@ -138,6 +138,10 @@ void gamedetect() if(gamedetect_check_game("q2w.game", "default/quake2world.version", NULL, buf, p - buf)) return; + // try to detect Warsow installs + if(gamedetect_check_game("warsow.game", "basewsw/dedicated_autoexec.cfg", NULL, buf, p - buf)) + return; + // we found nothing // go backwards --p;