]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
use #define instead of const for new static jump pad spawnflag
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Wed, 8 Feb 2023 16:14:32 +0000 (17:14 +0100)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Wed, 8 Feb 2023 16:16:34 +0000 (17:16 +0100)
qcsrc/common/mapobjects/trigger/jumppads.qh

index cd41a8eea272f0260b604a93f89e0ae07c7529fd..ca8f002fcbeaa48e154d482fc2e7075904179a19 100644 (file)
@@ -3,7 +3,7 @@
 
 const int PUSH_ONCE = BIT(0); // legacy, deactivate with relay instead
 const int PUSH_SILENT = BIT(1); // not used?
-const int PUSH_STATIC = BIT(12);
+#define PUSH_STATIC BIT(12)
 
 IntrusiveList g_jumppads;
 STATIC_INIT(g_jumppads) { g_jumppads = IL_NEW(); }