mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- Hack for Exhumed: palette 4 does not fade to black so sprites should not have shades above numshades.
The new renderer will treat such shades as completely black to ensure proper rendering of shadows - but for this palette this must be skipped.
This commit is contained in:
parent
ce1daa82c2
commit
913f6e713d
1 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,8 @@ static void analyzesprites(tspritetype* tsprite, int& spritesortcnt, int x, int
|
|||
pTSprite->pos.Z -= nTileY;
|
||||
}
|
||||
|
||||
if (pTSprite->pal == 4 && pTSprite->shade >= numshades) pTSprite->shade = numshades - 1;
|
||||
|
||||
if (pActor->spr.statnum > 0)
|
||||
{
|
||||
RunListEvent ev{};
|
||||
|
|
Loading…
Reference in a new issue