From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Wed, 8 Feb 2023 16:18:39 +0000 (+0100) Subject: use #define instead of const for target_speed spawnflags X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=41d2b15ade00341ca66f01d24a1f69270bcdfeb9;p=xonotic%2Fxonotic-data.pk3dir.git use #define instead of const for target_speed spawnflags --- diff --git a/qcsrc/common/mapobjects/target/speed.qh b/qcsrc/common/mapobjects/target/speed.qh index f5f0319ab..6e8544439 100644 --- a/qcsrc/common/mapobjects/target/speed.qh +++ b/qcsrc/common/mapobjects/target/speed.qh @@ -1,12 +1,12 @@ #pragma once -const int SPEED_PERCENTAGE = BIT(0); -const int SPEED_ADD = BIT(1); -const int SPEED_POSITIVE_X = BIT(2); -const int SPEED_NEGATIVE_X = BIT(3); -const int SPEED_POSITIVE_Y = BIT(4); -const int SPEED_NEGATIVE_Y = BIT(5); -const int SPEED_POSITIVE_Z = BIT(6); -const int SPEED_NEGATIVE_Z = BIT(7); -const int SPEED_LAUNCHER = BIT(8); +#define SPEED_PERCENTAGE BIT(0) +#define SPEED_ADD BIT(1) +#define SPEED_POSITIVE_X BIT(2) +#define SPEED_NEGATIVE_X BIT(3) +#define SPEED_POSITIVE_Y BIT(4) +#define SPEED_NEGATIVE_Y BIT(5) +#define SPEED_POSITIVE_Z BIT(6) +#define SPEED_NEGATIVE_Z BIT(7) +#define SPEED_LAUNCHER BIT(8)