summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/files.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c
index 11b78d3b..a22fd775 100644
--- a/src/qcommon/files.c
+++ b/src/qcommon/files.c
@@ -3648,7 +3648,7 @@ void FS_InitFilesystem( void ) {
Com_Error( ERR_FATAL, "Couldn't load default.cfg" );
}
- Q_strncpyz(lastValidBase, fs_basepath->string, sizeof(lastValidBase));
+ Q_strncpyz(lastValidBase, fs_basegame->string, sizeof(lastValidBase));
Q_strncpyz(lastValidGame, fs_gamedirvar->string, sizeof(lastValidGame));
}
@@ -3680,7 +3680,7 @@ void FS_Restart( int checksumFeed ) {
// (for instance a TA demo server)
if (lastValidBase[0]) {
FS_PureServerSetLoadedPaks("", "");
- Cvar_Set("fs_basepath", lastValidBase);
+ Cvar_Set("fs_basegame", lastValidBase);
Cvar_Set("fs_game", lastValidGame);
lastValidBase[0] = '\0';
lastValidGame[0] = '\0';
@@ -3698,7 +3698,7 @@ void FS_Restart( int checksumFeed ) {
}
}
- Q_strncpyz(lastValidBase, fs_basepath->string, sizeof(lastValidBase));
+ Q_strncpyz(lastValidBase, fs_basegame->string, sizeof(lastValidBase));
Q_strncpyz(lastValidGame, fs_gamedirvar->string, sizeof(lastValidGame));
}