Remove arbitrary check on numshades == 32

Backported from PCExhumed.

git-svn-id: https://svn.eduke32.com/eduke32@8432 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-12-18 09:30:53 +00:00 committed by Christoph Oelckers
parent 9cc8dee5fe
commit 120a2b4ca7

View file

@ -600,9 +600,6 @@ void handle_blend(uint8_t enable, uint8_t blend, uint8_t def)
int32_t paletteSetLookupTable(int32_t palnum, const uint8_t *shtab)
{
if (numshades != 32)
return -1;
if (shtab != NULL)
{
maybe_alloc_palookup(palnum);