mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Fix bitflags enum crumbleflag_t for C++
This commit is contained in:
parent
b642e64982
commit
45c48168ef
1 changed files with 4 additions and 6 deletions
10
src/p_spec.h
10
src/p_spec.h
|
|
@ -811,12 +811,10 @@ struct elevator_t
|
|||
fixed_t ceilingwasheight; // Height the ceiling WAS at
|
||||
};
|
||||
|
||||
typedef enum
|
||||
{
|
||||
CF_RETURN = 1, // Return after crumbling
|
||||
CF_FLOATBOB = 1<<1, // Float on water
|
||||
CF_REVERSE = 1<<2, // Reverse gravity
|
||||
} crumbleflag_t;
|
||||
typedef int crumbleflag_t;
|
||||
#define CF_RETURN (1) // Return after crumbling
|
||||
#define CF_FLOATBOB (1<<1) // Float on water
|
||||
#define CF_REVERSE (1<<2) // Reverse gravity
|
||||
|
||||
struct crumble_t
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue