]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
make the win32 case compile too (hope it doesn't break TOO horribly above 4G RAM...
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 3c77a0e356ce13c439cd0160946f0e2f74e809c0..1b776d7b5e761da4e48191033c170b0496debdc2 100644 (file)
--- a/host.c
+++ b/host.c
@@ -189,7 +189,7 @@ void Host_ServerOptions (void)
                else
                {
                        // default players in some games, singleplayer in most
-                       if (gamemode != GAME_GOODVSBAD2 && gamemode != GAME_NEXUIZ && gamemode != GAME_BATTLEMECH)
+                       if (gamemode != GAME_GOODVSBAD2 && gamemode != GAME_NEXUIZ && gamemode != GAME_XONOTIC && gamemode != GAME_BATTLEMECH)
                                svs.maxclients = 1;
                }
        }
@@ -1122,6 +1122,7 @@ static void Host_Init (void)
        Mod_Init();
        World_Init();
        SV_Init();
+       V_Init(); // some cvars needed by server player physics (cl_rollangle etc)
        Host_InitCommands();
        Host_InitLocal();
        Host_ServerOptions();
@@ -1141,7 +1142,6 @@ static void Host_Init (void)
                S_Init();
                CDAudio_Init();
                Key_Init();
-               V_Init();
                CL_Init();
        }