summaryrefslogtreecommitdiff
path: root/source/sv_init.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-03-03 21:33:16 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-03-03 21:33:16 +0000
commit876945693d1ed78a2a122c37fe82409ce16568da (patch)
tree609f2c6ee7607eaae83b3213dca73bcacdaaf621 /source/sv_init.c
parent8d5345be32ece1e2e396d2bd3499ded790cb9a8c (diff)
Kill CL_LocalConnect preventing dedicated server to build.
Diffstat (limited to 'source/sv_init.c')
-rw-r--r--source/sv_init.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/sv_init.c b/source/sv_init.c
index b8b0090..339ac4b 100644
--- a/source/sv_init.c
+++ b/source/sv_init.c
@@ -188,7 +188,14 @@ void SV_InitGame( qboolean ismvd ) {
Cvar_Reset( sv_recycle );
#endif
- CL_LocalConnect();
+ // restart filesystem now
+ if( FS_NeedRestart() ) {
+#if USE_CLIENT
+ CL_RestartFilesystem( qfalse );
+#else
+ FS_Restart( qfalse );
+#endif
+ }
if( ismvd ) {
Cvar_Set( "deathmatch", "1" );