- fixed small oversight in makepalookup parser.

This commit is contained in:
Christoph Oelckers 2021-04-20 20:44:22 +02:00
parent 512411d0fa
commit 16f45ffe3d

View file

@ -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);