From 252eca52c4351e81035a9ca4bbb93fbf42cece09 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Sun, 15 Mar 2026 15:36:11 -0500 Subject: [PATCH] Fix bitflags enum slopeflags_t for C++ --- src/r_defs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/r_defs.h b/src/r_defs.h index b3049db4d..d3db090b2 100644 --- a/src/r_defs.h +++ b/src/r_defs.h @@ -294,10 +294,10 @@ struct r_lightlist_t }; // Slopes -typedef enum { - SL_NOPHYSICS = 1, /// This plane will have no physics applied besides the positioning. - SL_DYNAMIC = 1<<1, /// This plane slope will be assigned a thinker to make it dynamic. -} slopeflags_t; +typedef int slopeflags_t; + +#define SL_NOPHYSICS (1) /// This plane will have no physics applied besides the positioning. +#define SL_DYNAMIC (1<<1) /// This plane slope will be assigned a thinker to make it dynamic. struct pslope_t {