Fix shadows in polymost

This commit is contained in:
nukeykt 2019-11-15 01:49:23 +09:00 committed by Christoph Oelckers
parent c2594ec4ea
commit 6fef06453c
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ int seq_PlotSequence(short nSprite, short edx, short nFrame, short ecx)
}
tsprite[nSprite].cstat = 0x22; // transluscence, floor sprite
tsprite[nSprite].z = nFloorZ + 1;
tsprite[nSprite].z = videoGetRenderMode() >= REND_POLYMOST ? nFloorZ : nFloorZ + 1;
tsprite[nSprite].yrepeat = (uint8_t)edx;
tsprite[nSprite].xrepeat = (uint8_t)edx;
tsprite[nSprite].statnum = -3;