mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-26 05:51:00 +00:00
- Exhumed: avoid shade hacks with palette emulation on.
This code only makes sense with true color rendering.
This commit is contained in:
parent
fc547f5ada
commit
432021b8e7
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ static void analyzesprites(tspriteArray& tsprites, const DVector3& view, double
|
|||
pTSprite->pos.Z -= nTileY;
|
||||
}
|
||||
|
||||
if (pTSprite->pal == 4 && pTSprite->shade >= numshades) pTSprite->shade = numshades - 1;
|
||||
if (pTSprite->pal == 4 && pTSprite->shade >= numshades && !hw_int_useindexedcolortextures) pTSprite->shade = numshades - 1;
|
||||
|
||||
if (pActor->spr.statnum > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue