From: Mario Date: Sat, 11 Jun 2016 06:57:58 +0000 (+1000) Subject: Fix prediction of jumppads without targets X-Git-Tag: xonotic-v0.8.2~827 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2d5b5ec48ca8a1dacb920604239e1de7ee7c7792;p=xonotic%2Fxonotic-data.pk3dir.git Fix prediction of jumppads without targets --- 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();