- palookup.

This commit is contained in:
Christoph Oelckers 2021-04-13 20:33:21 +02:00
parent bb119fa928
commit aaad546729
7 changed files with 203 additions and 297 deletions

View file

@ -113,4 +113,7 @@ inline int shadeToLight(int shade)
return PalEntry(255, light, light, light);
}
inline void copyfloorpal(spritetype* spr, const sectortype* sect)
{
if (!lookups.noFloorPal(sect->floorpal)) spr->pal = sect->floorpal;
}