]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix errors related to cl_rollangle on dedicated servers where the cvar
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 21 Aug 2010 22:11:10 +0000 (22:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 21 Aug 2010 22:11:10 +0000 (22:11 +0000)
was not being registered

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10410 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index 3c77a0e356ce13c439cd0160946f0e2f74e809c0..dc5511468b54f9a1330910a605cdca7bf7941c6e 100644 (file)
--- a/host.c
+++ b/host.c
@@ -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();
        }