mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
PCExhumed: Torch bouncing fix
This commit is contained in:
parent
1a2b93f402
commit
3713cb0f09
1 changed files with 8 additions and 0 deletions
|
@ -117,6 +117,14 @@ static void analyzesprites(double const smoothratio)
|
|||
|
||||
pTSprite->pal = RemapPLU(pTSprite->pal);
|
||||
|
||||
// PowerSlaveGDX: Torch bouncing fix
|
||||
if ((pTSprite->picnum == kTile338 || pTSprite->picnum == kTile350) && (pTSprite->cstat & 0x80) == 0)
|
||||
{
|
||||
pTSprite->cstat |= 0x80;
|
||||
int nTileY = (tilesiz[pTSprite->picnum].y * pTSprite->yrepeat) * 2;
|
||||
pTSprite->z -= nTileY;
|
||||
}
|
||||
|
||||
if (pSprite->statnum > 0)
|
||||
{
|
||||
runlist_SignalRun(pSprite->lotag - 1, nTSprite | 0x90000);
|
||||
|
|
Loading…
Reference in a new issue