]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix viewloc ladder prediction
authorMario <mario@smbclan.net>
Thu, 13 Oct 2016 21:34:23 +0000 (07:34 +1000)
committerMario <mario@smbclan.net>
Thu, 13 Oct 2016 21:34:23 +0000 (07:34 +1000)
qcsrc/ecs/systems/physics.qc

index a08422dcfad666dd56780211cad37a9497dc17e3..b25c93b2d3d3177342e8994b12a29b26ecceb7dd 100644 (file)
@@ -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);