From 463e1a804744dd847eb3968a19294a7067dd9831 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 1 Sep 2022 14:15:47 +0200 Subject: [PATCH] - account for stupid GCC limitation. --- source/core/maptypes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/core/maptypes.h b/source/core/maptypes.h index a1fe18acb..15edac309 100644 --- a/source/core/maptypes.h +++ b/source/core/maptypes.h @@ -292,6 +292,8 @@ struct sectortype uint8_t portalflags; int8_t portalnum; + DAngle angle; // this is SW only. GCC is stupid and does not allow it inside an anonmyous struct. + // Game specific extensions. Due to how sectors are used they need to be defined in the global class. :( union { @@ -329,7 +331,6 @@ struct sectortype int flags; int depth_fixed; short stag; // ST? tag number - for certain things it helps to know it - DAngle angle; short height; short speed; short damage;