mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- palookup.
This commit is contained in:
parent
bb119fa928
commit
aaad546729
7 changed files with 203 additions and 297 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue