From 3bbb607a6d726e4c77bee0f63a3326a5b46588c2 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 22 Nov 2017 14:35:44 +1000 Subject: [PATCH] Fix another case of 'other' --- qcsrc/common/triggers/trigger/jumppads.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/common/triggers/trigger/jumppads.qc b/qcsrc/common/triggers/trigger/jumppads.qc index df9650745..822411c6a 100644 --- a/qcsrc/common/triggers/trigger/jumppads.qc +++ b/qcsrc/common/triggers/trigger/jumppads.qc @@ -38,9 +38,9 @@ vector trigger_push_calculatevelocity(vector org, entity tgt, float ht) torg = tgt.origin + (tgt.mins + tgt.maxs) * 0.5; - grav = PHYS_GRAVITY(other); - if(PHYS_ENTGRAVITY(other)) - grav *= PHYS_ENTGRAVITY(other); + grav = PHYS_GRAVITY(tgt); + if(PHYS_ENTGRAVITY(tgt)) + grav *= PHYS_ENTGRAVITY(tgt); zdist = torg.z - org.z; sdist = vlen(torg - org - zdist * '0 0 1'); -- 2.39.2