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:
parent
b082b1cae2
commit
3c3668d11c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user