- Duke/RR: fixed floor alignment of flames in sloped sectors

This commit is contained in:
Christoph Oelckers 2022-12-13 12:01:34 +01:00
parent 6b0c067d46
commit 5f6cd0da79
2 changed files with 2 additions and 2 deletions

View file

@ -324,7 +324,7 @@ void animatesprites_d(tspriteArray& tsprites, const DVector2& viewVec, DAngle vi
case DTILE_BURNING:
case DTILE_BURNING2:
if (!OwnerAc || !actorflag(OwnerAc, SFLAG_NOFLOORFIRE))
t->pos.Z = t->sectp->floorz;
t->pos.Z = getflorzofslopeptr(t->sectp, t->pos);
t->shade = -127;
break;
case DTILE_PLAYERONWATER:

View file

@ -376,7 +376,7 @@ void animatesprites_r(tspriteArray& tsprites, const DVector2& viewVec, DAngle vi
case RTILE_FIRE:
case RTILE_BURNING:
if (!OwnerAc || !actorflag(OwnerAc, SFLAG_NOFLOORFIRE))
t->pos.Z = t->sectp->floorz;
t->pos.Z = getflorzofslopeptr(t->sectp, t->pos);
t->shade = -127;
break;
case RTILE_CHEER: