]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_world.qc
Some minor adjustments to the push movetype, fix QC physics entities not running...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_world.qc
index 1d9205f023d2559860a44fd551741654ba56d96a..56dc473a9466429cb9d998c689721825ef567e05 100644 (file)
@@ -2071,10 +2071,7 @@ void Physics_Frame()
                // inline the set_movetype function, since this is called a lot
                it.movetype = (it.move_qcphysics) ? MOVETYPE_QCENTITY : it.move_movetype;
 
-               if(it.move_movetype == MOVETYPE_NONE)
-                       continue;
-
-               if(it.move_qcphysics)
+               if(it.move_qcphysics && it.move_movetype != MOVETYPE_NONE)
                        Movetype_Physics_NoMatchTicrate(it, PHYS_INPUT_TIMELENGTH, false);
 
                if(it.movetype >= MOVETYPE_USER_FIRST && it.movetype <= MOVETYPE_USER_LAST) // these cases have no think handling