summaryrefslogtreecommitdiff
path: root/src/qcommon/files.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2011-10-27 21:39:05 +0000
committerTim Angus <tim@ngus.net>2013-01-12 19:30:57 +0000
commit284437f58017e70330a05f1a1a24f0c6621318c0 (patch)
tree2f106253f4fb76dcfe0b01da5260e11ab43a7a08 /src/qcommon/files.c
parent43285fefafed6821fb277c71da7b28d5291d87dd (diff)
* (bug #5283) Changes to the Makefile to make building standalone games easier (JBravo)
Diffstat (limited to 'src/qcommon/files.c')
-rw-r--r--src/qcommon/files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c
index 7fc209e9..6948d953 100644
--- a/src/qcommon/files.c
+++ b/src/qcommon/files.c
@@ -3596,8 +3596,8 @@ qboolean FS_ConditionalRestart(int checksumFeed, qboolean disconnect)
if(fs_gamedirvar->modified)
{
if(FS_FilenameCompare(lastValidGame, fs_gamedirvar->string) &&
- (*lastValidGame || FS_FilenameCompare(fs_gamedirvar->string, com_basegame->string)) &&
- (*fs_gamedirvar->string || FS_FilenameCompare(lastValidGame, com_basegame->string)))
+ (*lastValidGame || FS_FilenameCompare(fs_gamedirvar->string, BASEGAME)) &&
+ (*fs_gamedirvar->string || FS_FilenameCompare(lastValidGame, BASEGAME)))
{
Com_GameRestart(checksumFeed, disconnect);
return qtrue;