]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
lhnet: Use the generic linked list
[xonotic/darkplaces.git] / sv_phys.c
index 5633a1d33a5d9c160b964f3b544bd73ec08a83c3..a918ea25603c7145aa59e09174643011a5e22152 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -3176,8 +3176,10 @@ void SV_Physics (void)
        PRVM_serverglobalfloat(frametime) = sv.frametime;
        prog->ExecuteProgram(prog, PRVM_serverfunction(StartFrame), "QC function StartFrame is missing");
 
+#ifdef USEODE
        // run physics engine
        World_Physics_Frame(&sv.world, sv.frametime, sv_gravity.value);
+#endif
 
 //
 // treat each object in turn