From 933e1db424e7dffe78084ccbe056515096eb37ef Mon Sep 17 00:00:00 2001 From: Eidolon Date: Tue, 31 Mar 2026 19:39:19 -0500 Subject: [PATCH] Fix bitflags enum polyturnflags_e for C++ --- src/p_polyobj.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/p_polyobj.h b/src/p_polyobj.h index fec58320a..f523f4202 100644 --- a/src/p_polyobj.h +++ b/src/p_polyobj.h @@ -254,11 +254,9 @@ typedef INT32 textmappolyrotate_t; #define TMPR_CONTINUOUS (1<<2) #define TMPR_OVERRIDE (1<<3) -typedef enum -{ - PTF_PLAYERS = 1, // Turn players with movement - PTF_OTHERS = 1<<1, // Turn other mobjs with movement -} polyturnflags_e; +typedef INT32 polyturnflags_e; +#define PTF_PLAYERS (1) // Turn players with movement +#define PTF_OTHERS (1<<1) // Turn other mobjs with movement struct polyrotdata_t {