Skip to content

Commit

Permalink
- use an enum for the FX_* flags.
Browse files Browse the repository at this point in the history
These were still #defines.
  • Loading branch information
coelckers committed Jan 6, 2022
1 parent be103bd commit 597856c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/playsim/p_effect.h
Expand Up @@ -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;
Expand Down

0 comments on commit 597856c

Please sign in to comment.