]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix use of STAT() macro for trigger_push and others
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 6 Feb 2023 10:04:59 +0000 (11:04 +0100)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 6 Feb 2023 10:06:53 +0000 (11:06 +0100)
qcsrc/common/mapobjects/trigger/jumppads.qc

index fc149e3c8793a0008c83a27062985e76e887cb1e..7ee6b27c897e980802db08886015dbf12bbdc2b7 100644 (file)
@@ -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;
        }