From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Wed, 8 Feb 2023 16:16:09 +0000 (+0100) Subject: use #define instead of const for new q3df teleporter spawnflags X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=23c24c434bbeac1d6c44bc3a15267d1a107fb1d0;p=xonotic%2Fxonotic-data.pk3dir.git use #define instead of const for new q3df teleporter spawnflags --- 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)