From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Mon, 6 Feb 2023 10:04:59 +0000 (+0100) Subject: fix use of STAT() macro for trigger_push and others X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5b78a8cbf00155bfa26cce84c77f30a4a02f1d0f;p=xonotic%2Fxonotic-data.pk3dir.git fix use of STAT() macro for trigger_push and others --- diff --git a/qcsrc/common/mapobjects/trigger/jumppads.qc b/qcsrc/common/mapobjects/trigger/jumppads.qc index fc149e3c8..7ee6b27c8 100644 --- a/qcsrc/common/mapobjects/trigger/jumppads.qc +++ b/qcsrc/common/mapobjects/trigger/jumppads.qc @@ -135,7 +135,7 @@ bool jumppad_push(entity this, entity targ) vector org = targ.origin; - if(STAT(Q3COMPAT) || this.spawnflags & PUSH_STATIC) + if(STAT(Q3COMPAT, targ) || this.spawnflags & PUSH_STATIC) { org = (this.absmin + this.absmax) * 0.5; }