From 23c24c434bbeac1d6c44bc3a15267d1a107fb1d0 Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Wed, 8 Feb 2023 17:16:09 +0100 Subject: [PATCH] use #define instead of const for new q3df teleporter spawnflags --- qcsrc/common/mapobjects/trigger/teleport.qh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/mapobjects/trigger/teleport.qh b/qcsrc/common/mapobjects/trigger/teleport.qh index ff3fa079b..aa4fee723 100644 --- a/qcsrc/common/mapobjects/trigger/teleport.qh +++ b/qcsrc/common/mapobjects/trigger/teleport.qh @@ -1,5 +1,5 @@ #pragma once -const int TELEPORT_SPECTATOR = BIT(0); -const int TELEPORT_KEEP_SPEED = BIT(1); +#define TELEPORT_SPECTATOR BIT(0) +#define TELEPORT_KEEP_SPEED BIT(1) -- 2.39.2