From 6271adcbe7db2a8e011ecf2fec0dec502bf16f1c Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Sun, 12 Jun 2016 15:55:06 -0400 Subject: [PATCH] make sure !BLUA EXE works without warnings --- src/dehacked.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dehacked.c b/src/dehacked.c index 199ea43ca..01174aa6f 100644 --- a/src/dehacked.c +++ b/src/dehacked.c @@ -6717,12 +6717,14 @@ static const char *const MOBJEFLAG_LIST[] = { NULL }; +#ifdef HAVE_BLUA static const char *const MAPTHINGFLAG_LIST[4] = { NULL, "OBJECTFLIP", // Reverse gravity flag for objects. "OBJECTSPECIAL", // Special flag used with certain objects. "AMBUSH" // Deaf monsters/do not react to sound. }; +#endif static const char *const PLAYERFLAG_LIST[] = { // Flip camera angle with gravity flip prefrence. @@ -6795,6 +6797,7 @@ static const char *const PLAYERFLAG_LIST[] = { NULL // stop loop here. }; +#ifdef HAVE_BLUA // Linedef flags static const char *const ML_LIST[16] = { "IMPASSIBLE", @@ -6814,6 +6817,7 @@ static const char *const ML_LIST[16] = { "BOUNCY", "TFERLINE" }; +#endif // This DOES differ from r_draw's Color_Names, unfortunately. // Also includes Super colors