]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
use #define instead of const for new q3df teleporter spawnflags
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Wed, 8 Feb 2023 16:16:09 +0000 (17:16 +0100)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Wed, 8 Feb 2023 16:16:09 +0000 (17:16 +0100)
qcsrc/common/mapobjects/trigger/teleport.qh

index ff3fa079bd6187ef089916baf58800cbba8ea74c..aa4fee723f29d67cb6d8369b577a97d298b62ebc 100644 (file)
@@ -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)