]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/ecs/systems/cl_physics.qc
Merge branch 'master' into Lyberta/GivePlayerAmmo
[xonotic/xonotic-data.pk3dir.git] / qcsrc / ecs / systems / cl_physics.qc
index 52e8ed0caeb3c9800aa282449f50238de95913e3..f74e9c2d5526c895fd8b28c1bdd9bb7a884faef0 100644 (file)
@@ -4,22 +4,21 @@ void sys_phys_fix(entity this, float dt)
 {
        this.team = myteam + 1; // is this correct?
        PHYS_WATERJUMP_TIME(this) -= dt;
-       this.oldmovement = this.movement;
        this.movement = PHYS_INPUT_MOVEVALUES(this);
        this.items = STAT(ITEMS, this);
        this.spectatorspeed = STAT(SPECTATORSPEED, this);
        if (!(PHYS_INPUT_BUTTON_JUMP(this))) // !jump
                UNSET_JUMP_HELD(this);           // canjump = true
-       PM_ClientMovement_UpdateStatus(this, true);
+       PM_ClientMovement_UpdateStatus(this);
 }
 
-bool sys_phys_override(entity this)
+bool sys_phys_override(entity this, float dt)
 {
        // no vehicle prediction
        return hud != HUD_NORMAL;
 }
 
-void sys_phys_monitor(entity this) {}
+void sys_phys_monitor(entity this, float dt) {}
 
 void sys_phys_ai(entity this) {}