]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
sv_stepheight cvar, SV_Init now calls SV_Phys_Init, and another unsuccessful attempt...
[xonotic/darkplaces.git] / sv_main.c
index d8c47b0d5e7f3d4b6161d5259598ba55f294864c..b1dd740018e287a043e8dddecd250fa2246f8265 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -35,6 +35,8 @@ static mempool_t *sv_edicts_mempool = NULL;
 
 //============================================================================
 
+extern void SV_Phys_Init (void);
+
 /*
 ===============
 SV_Init
@@ -61,6 +63,8 @@ void SV_Init (void)
        Cvar_RegisterVariable (&sv_cullentities_trace);
        Cvar_RegisterVariable (&sv_cullentities_stats);
 
+       SV_Phys_Init();
+
        for (i = 0;i < MAX_MODELS;i++)
                sprintf (localmodels[i], "*%i", i);
 
@@ -1805,7 +1809,7 @@ void SV_SpawnServer (char *server)
 
 // serverflags are for cross level information (sigils)
        pr_global_struct->serverflags = svs.serverflags;
-       
+
        ED_LoadFromFile (sv.worldmodel->entities);
        // LordHavoc: clear world angles (to fix e3m3.bsp)
        VectorClear(sv.edicts->v.angles);