summaryrefslogtreecommitdiff
path: root/src/qcommon/files.c
diff options
context:
space:
mode:
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;