From: Mario Date: Fri, 14 Oct 2016 10:35:03 +0000 (+1000) Subject: Remove oldmovement (unused) X-Git-Tag: xonotic-v0.8.2~513 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=971c2e81e2fd2d458b3b39ac87f84b02d2b4037a;p=xonotic%2Fxonotic-data.pk3dir.git Remove oldmovement (unused) --- diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index cbfbaaaca..b5635e094 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -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'); diff --git a/qcsrc/ecs/systems/cl_physics.qc b/qcsrc/ecs/systems/cl_physics.qc index f90afcb52..f74e9c2d5 100644 --- a/qcsrc/ecs/systems/cl_physics.qc +++ b/qcsrc/ecs/systems/cl_physics.qc @@ -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); diff --git a/qcsrc/ecs/systems/sv_physics.qc b/qcsrc/ecs/systems/sv_physics.qc index 76e43eb0b..904ebba3f 100644 --- a/qcsrc/ecs/systems/sv_physics.qc +++ b/qcsrc/ecs/systems/sv_physics.qc @@ -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)