From 2d5b5ec48ca8a1dacb920604239e1de7ee7c7792 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 11 Jun 2016 16:57:58 +1000 Subject: [PATCH] Fix prediction of jumppads without targets --- qcsrc/common/triggers/trigger/jumppads.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/triggers/trigger/jumppads.qc b/qcsrc/common/triggers/trigger/jumppads.qc index 8b84a651d..9691cdad8 100644 --- a/qcsrc/common/triggers/trigger/jumppads.qc +++ b/qcsrc/common/triggers/trigger/jumppads.qc @@ -148,7 +148,7 @@ void trigger_push_touch(entity this) other.velocity = trigger_push_calculatevelocity(other.origin, this.enemy, this.height); other.move_velocity = other.velocity; } - else if(this.target) + else if(this.target && this.target != "") { entity e; RandomSelection_Init(); -- 2.39.2