From 5b78a8cbf00155bfa26cce84c77f30a4a02f1d0f Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Mon, 6 Feb 2023 11:04:59 +0100 Subject: [PATCH] fix use of STAT() macro for trigger_push and others --- qcsrc/common/mapobjects/trigger/jumppads.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2