From c692d7b5c5e79fa4d30b2b6e7c15a78d75d8f146 Mon Sep 17 00:00:00 2001 From: Timothee 'TTimo' Besset Date: Wed, 29 Aug 2012 20:49:09 -0500 Subject: [PATCH] point to the right QL homepath --- radiant/preferences.cpp | 7 +------ tools/quake3/q3map2/game_quakelive.h | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/radiant/preferences.cpp b/radiant/preferences.cpp index c4ca3453..02ee677b 100644 --- a/radiant/preferences.cpp +++ b/radiant/preferences.cpp @@ -3629,13 +3629,8 @@ void CGameInstall::Run() { break; } case GAME_QL: { -/*#ifdef _WIN32 - fprintf( fg, " "ENGINE_ATTRIBUTE "=\"ql.exe\"\n"); -#elif __linux__ - fprintf( fg, " "ENGINE_ATTRIBUTE "=\"ql\"\n" ); -#endif*/ fprintf( fg, " "TOOLS_ATTRIBUTE "=\"%sinstalls/"QL_PACK "/game\"\n", g_strAppPath.GetBuffer() ); - fprintf( fg, " prefix=\".q3a\"\n" ); + fprintf( fg, " prefix=\".quakelive\"\n" ); Str source = g_strAppPath.GetBuffer(); source += "installs/"; source += QL_PACK; diff --git a/tools/quake3/q3map2/game_quakelive.h b/tools/quake3/q3map2/game_quakelive.h index 640e21e3..a9fdead6 100644 --- a/tools/quake3/q3map2/game_quakelive.h +++ b/tools/quake3/q3map2/game_quakelive.h @@ -65,7 +65,7 @@ { "quakelive", /* -game x */ "baseq3", /* default base game data dir */ - ".q3a", /* unix home sub-dir */ + ".quakelive", /* unix home sub-dir */ "quake", /* magic path word */ "scripts", /* shader directory */ 64, /* max lightmapped surface verts */