also detect being part of a warsow install

git-svn-id: svn://svn.icculus.org/netradiant/trunk@317 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
divverent 2009-04-10 19:44:53 +00:00
parent b082b1cae2
commit 3c3668d11c

View File

@ -138,6 +138,10 @@ void gamedetect()
if(gamedetect_check_game("q2w.game", "default/quake2world.version", NULL, buf, p - buf)) if(gamedetect_check_game("q2w.game", "default/quake2world.version", NULL, buf, p - buf))
return; return;
// try to detect Warsow installs
if(gamedetect_check_game("warsow.game", "basewsw/dedicated_autoexec.cfg", NULL, buf, p - buf))
return;
// we found nothing // we found nothing
// go backwards // go backwards
--p; --p;