]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
ignore jump pads while dropping in battle royale
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Sat, 27 May 2023 21:41:41 +0000 (23:41 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Sat, 27 May 2023 21:41:41 +0000 (23:41 +0200)
qcsrc/common/mapobjects/triggers.qc

index 39fa89c42fc6236a1d1b471908d2da86e52c6e5f..3bc6d9347da6e88029563b33c8f9519bc4e694cf 100644 (file)
@@ -4,6 +4,8 @@ bool isPushable(entity e)
 {
        if(e.pushable)
                return true;
+       if(STAT(DROP, e) != DROP_LANDED)
+               return false;
 #ifdef SVQC
        if(IS_VEHICLE(e))
                return false;