From a15d4e574d7856492b4344b02177f7a2d8addf51 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Wed, 29 Sep 2021 10:52:46 -0400 Subject: [PATCH] - oops forgot the namespace --- src/maploader/udmf.cpp | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/maploader/udmf.cpp b/src/maploader/udmf.cpp index f30ddc736..642708d2a 100644 --- a/src/maploader/udmf.cpp +++ b/src/maploader/udmf.cpp @@ -109,21 +109,22 @@ static inline bool P_IsThingSpecial(int specnum) return (specnum >= Thing_Projectile && specnum <= Thing_SpawnNoFog) || specnum == Thing_SpawnFacing || specnum == Thing_ProjectileIntercept || specnum == Thing_ProjectileAimed; } - -enum +namespace { - Dm=1, // Doom - Ht=2, // Heretic - Hx=4, // Hexen - St=8, // Strife - Zd=16, // ZDoom - Zdt=32, // ZDoom Translated - Va=64, // Vavoom - - // will be extended later. Unknown namespaces will always be treated like the base - // namespace for each game -}; + enum + { + Dm=1, // Doom + Ht=2, // Heretic + Hx=4, // Hexen + St=8, // Strife + Zd=16, // ZDoom + Zdt=32, // ZDoom Translated + Va=64, // Vavoom + // will be extended later. Unknown namespaces will always be treated like the base + // namespace for each game + }; +} #define CHECK_N(f) if (!(namespace_bits&(f))) break; //===========================================================================