From: Mario Date: Thu, 13 Oct 2016 21:34:23 +0000 (+1000) Subject: Fix viewloc ladder prediction X-Git-Tag: xonotic-v0.8.2~516 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c9dfa0f9ed0d6b8d7a13269266533877ae782d02;p=xonotic%2Fxonotic-data.pk3dir.git Fix viewloc ladder prediction --- diff --git a/qcsrc/ecs/systems/physics.qc b/qcsrc/ecs/systems/physics.qc index a08422dcf..b25c93b2d 100644 --- a/qcsrc/ecs/systems/physics.qc +++ b/qcsrc/ecs/systems/physics.qc @@ -217,7 +217,7 @@ void sys_phys_simulate(entity this, float dt) } if (this.com_phys_ladder) { if (this.viewloc) { - wishvel.z = this.oldmovement.x; + wishvel.z = this.movement_old.x; } if (this.ladder_entity.classname == "func_water") { float f = vlen(wishvel);