From 6c2ab235967132cf3478baa39642fa22d1df39bb Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Wed, 8 Feb 2023 17:14:32 +0100 Subject: [PATCH] use #define instead of const for new static jump pad spawnflag --- qcsrc/common/mapobjects/trigger/jumppads.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/mapobjects/trigger/jumppads.qh b/qcsrc/common/mapobjects/trigger/jumppads.qh index cd41a8eea..ca8f002fc 100644 --- a/qcsrc/common/mapobjects/trigger/jumppads.qh +++ b/qcsrc/common/mapobjects/trigger/jumppads.qh @@ -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(); } -- 2.39.2