From c9dfa0f9ed0d6b8d7a13269266533877ae782d02 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 14 Oct 2016 07:34:23 +1000 Subject: [PATCH] Fix viewloc ladder prediction --- qcsrc/ecs/systems/physics.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2