Fix bitflags enum crumbleflag_t for C++

This commit is contained in:
Eidolon 2026-03-31 19:56:08 -05:00
parent b642e64982
commit 45c48168ef

View file

@ -811,12 +811,10 @@ struct elevator_t
fixed_t ceilingwasheight; // Height the ceiling WAS at fixed_t ceilingwasheight; // Height the ceiling WAS at
}; };
typedef enum typedef int crumbleflag_t;
{ #define CF_RETURN (1) // Return after crumbling
CF_RETURN = 1, // Return after crumbling #define CF_FLOATBOB (1<<1) // Float on water
CF_FLOATBOB = 1<<1, // Float on water #define CF_REVERSE (1<<2) // Reverse gravity
CF_REVERSE = 1<<2, // Reverse gravity
} crumbleflag_t;
struct crumble_t struct crumble_t
{ {