mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
Fix shadows in polymost
This commit is contained in:
parent
c2594ec4ea
commit
6fef06453c
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ int seq_PlotSequence(short nSprite, short edx, short nFrame, short ecx)
|
||||||
}
|
}
|
||||||
|
|
||||||
tsprite[nSprite].cstat = 0x22; // transluscence, floor sprite
|
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].yrepeat = (uint8_t)edx;
|
||||||
tsprite[nSprite].xrepeat = (uint8_t)edx;
|
tsprite[nSprite].xrepeat = (uint8_t)edx;
|
||||||
tsprite[nSprite].statnum = -3;
|
tsprite[nSprite].statnum = -3;
|
||||||
|
|
Loading…
Reference in a new issue