]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove oldmovement (unused)
authorMario <mario@smbclan.net>
Fri, 14 Oct 2016 10:35:03 +0000 (20:35 +1000)
committerMario <mario@smbclan.net>
Fri, 14 Oct 2016 10:35:03 +0000 (20:35 +1000)
qcsrc/common/physics/player.qc
qcsrc/ecs/systems/cl_physics.qc
qcsrc/ecs/systems/sv_physics.qc

index cbfbaaaca2beb365f8ebff248b2542922f577594..b5635e0945e0625dce91d9877bdb67fe7ab32285 100644 (file)
@@ -670,8 +670,6 @@ void PM_check_blocked(entity this)
 #endif
 }
 
-.vector oldmovement;
-
 void PM_jetpack(entity this, float maxspd_mod, float dt)
 {
        //makevectors(this.v_angle.y * '0 1 0');
index f90afcb529f40f7f2a75bed0e6cf7a0fb043f1e8..f74e9c2d5526c895fd8b28c1bdd9bb7a884faef0 100644 (file)
@@ -4,7 +4,6 @@ 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);
index 76e43eb0badd58329a8ceb4055d792f9407ee399..904ebba3fe5ccbea2b1f1aefaa55f502dd67450b 100644 (file)
@@ -4,7 +4,6 @@ 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)