summaryrefslogtreecommitdiff
path: root/src/common/files.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2012-08-05 19:23:24 +0400
committerAndrey Nazarov <skuller@skuller.net>2012-08-05 19:23:24 +0400
commit85bfaaba79c518a6833d08733784af4049aa1b95 (patch)
treea0c3fbb438946379aa2ad66e4afc8331b320f312 /src/common/files.c
parentadd23e4a1d6f7131d5bc0c1db3159a92cdb7472f (diff)
Remove some ‘#if USE_CLIENT’ tests.
Diffstat (limited to 'src/common/files.c')
-rw-r--r--src/common/files.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/files.c b/src/common/files.c
index 72fa164..e689e93 100644
--- a/src/common/files.c
+++ b/src/common/files.c
@@ -3395,11 +3395,7 @@ Console command to fully re-start the file system.
*/
static void FS_Restart_f(void)
{
-#if USE_CLIENT
CL_RestartFilesystem(qtrue);
-#else
- FS_Restart(qtrue);
-#endif
}
static const cmdreg_t c_fs[] = {
@@ -3485,11 +3481,7 @@ static void fs_game_changed(cvar_t *self)
}
// otherwise, restart the filesystem
-#if USE_CLIENT
CL_RestartFilesystem(qfalse);
-#else
- FS_Restart(qfalse);
-#endif
// exec autoexec.cfg (must be a real file within the game directory)
ret = Cmd_ExecuteFile(COM_AUTOEXEC_CFG, FS_TYPE_REAL | FS_PATH_GAME);