From 597856c1d469718f34a40f331f07600e0d356a36 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 7 Jan 2022 00:40:40 +0100 Subject: [PATCH] - use an enum for the FX_* flags. These were still #defines. --- src/playsim/p_effect.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/playsim/p_effect.h b/src/playsim/p_effect.h index 56980c6e3..970c86c6a 100644 --- a/src/playsim/p_effect.h +++ b/src/playsim/p_effect.h @@ -36,10 +36,13 @@ #include "vectors.h" #include "doomdef.h" -#define FX_ROCKET 0x00000001 -#define FX_GRENADE 0x00000002 -#define FX_RESPAWNINVUL 0x00000020 -#define FX_VISIBILITYPULSE 0x00000040 +enum +{ + FX_ROCKET = 0x00000001, + FX_GRENADE = 0x00000002, + FX_RESPAWNINVUL = 0x00000020, + FX_VISIBILITYPULSE = 0x00000040 +}; struct subsector_t; struct FLevelLocals;