From: Jay Dolan Date: Sun, 8 Mar 2015 17:54:53 +0000 (-0400) Subject: Fix detection of Quetoo install. X-Git-Tag: xonotic-v0.8.2~19^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ba1771ef8e5fc6d0687dea55e9b15297286c2f05;p=xonotic%2Fnetradiant.git Fix detection of Quetoo install. --- diff --git a/radiant/environment.cpp b/radiant/environment.cpp index 9583b90f..954847eb 100644 --- a/radiant/environment.cpp +++ b/radiant/environment.cpp @@ -136,8 +136,8 @@ void gamedetect(){ #endif { return; } - // try to detect Q2World installs - if ( gamedetect_check_game( "q2w.game", "default/quake2world.version", NULL, buf, p - buf ) ) { + // try to detect Quetoo installs + if ( gamedetect_check_game( "quetoo.game", "default/icons/quetoo.png", NULL, buf, p - buf ) ) { return; }