diff --git a/source/games/exhumed/src/view.cpp b/source/games/exhumed/src/view.cpp index f85b859b9..7ce9fcc10 100644 --- a/source/games/exhumed/src/view.cpp +++ b/source/games/exhumed/src/view.cpp @@ -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) {