]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update oldmovement on server too
authorMario <mario@smbclan.net>
Sat, 8 Oct 2016 20:36:33 +0000 (06:36 +1000)
committerMario <mario@smbclan.net>
Sat, 8 Oct 2016 20:36:33 +0000 (06:36 +1000)
qcsrc/ecs/systems/sv_physics.qc

index 904ebba3fe5ccbea2b1f1aefaa55f502dd67450b..76e43eb0badd58329a8ceb4055d792f9407ee399 100644 (file)
@@ -4,6 +4,7 @@ void sys_phys_fix(entity this, float dt)
 {
        WarpZone_PlayerPhysics_FixVAngle(this);
        Physics_UpdateStats(this, PHYS_HIGHSPEED(this));
+       this.oldmovement = this.movement;
 }
 
 bool sys_phys_override(entity this, float dt)