From 16f45ffe3d90fa55a6ee2fd26e77cc4278111531 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 20 Apr 2021 20:44:22 +0200 Subject: [PATCH] - fixed small oversight in makepalookup parser. --- source/core/parsefuncs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/core/parsefuncs.h b/source/core/parsefuncs.h index 198c8d404..826d4e356 100644 --- a/source/core/parsefuncs.h +++ b/source/core/parsefuncs.h @@ -1333,7 +1333,11 @@ void parseMakePalookup(FScanner& sc, FScriptPosition& pos) havepal |= HAVE_REMAPSELF; } else if (sc.Compare("nofloorpal")) sc.GetNumber(nofloorpal, true); - else if (sc.Compare("pal")) sc.GetNumber(pal, true); + else if (sc.Compare("pal")) + { + havepal |= HAVE_PAL; + sc.GetNumber(pal, true); + } } red = clamp(red, 0, 63); green = clamp(green, 0, 63);