]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/ecs/systems/sv_physics.qc
Port movement and movement_old to ClientState
[xonotic/xonotic-data.pk3dir.git] / qcsrc / ecs / systems / sv_physics.qc
index fc065b2ad7f62de8d9bff42d3177378531adfeb9..ed3d3eaa8ae66d5089a7ee5a15f03758401f3ed6 100644 (file)
@@ -25,7 +25,7 @@ void sys_phys_monitor(entity this, float dt)
        anticheat_physics(this);
        if (sv_maxidle > 0) {
                if (buttons != this.buttons_old
-                   || this.movement != this.movement_old
+                   || CS(this).movement != CS(this).movement_old
                    || this.v_angle != this.v_angle_old) { CS(this).parm_idlesince = time; }
        }
        PM_check_nickspam(this);