Fix bitflags enum precipflag_t for C++

This commit is contained in:
Eidolon 2026-03-15 15:25:33 -05:00
parent 9ddcc66baa
commit 80cd3de286

View file

@ -231,13 +231,12 @@ typedef enum
// //
// PRECIPITATION flags ?! ?! ?! // PRECIPITATION flags ?! ?! ?!
// //
typedef enum { typedef INT32 precipflag_t;
PCF_THUNK = 1, // Ran the thinker this tic. #define PCF_THUNK (1) // Ran the thinker this tic.
PCF_SPLASH = 1<<1, // Splashed on the ground, return to the ceiling after the animation's over #define PCF_SPLASH (1<<1) // Splashed on the ground, return to the ceiling after the animation's over
PCF_INVISIBLE = 1<<2, // Don't draw. #define PCF_INVISIBLE (1<<2) // Don't draw.
PCF_PIT = 1<<3, // Above pit. #define PCF_PIT (1<<3) // Above pit.
PCF_FLIP = 1<<4, // Spawning from floor, moving upwards. #define PCF_FLIP (1<<4) // Spawning from floor, moving upwards.
} precipflag_t;
// Map Object definition. // Map Object definition.
struct mobj_t struct mobj_t