- 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 cfbd782692
commit ee5832048f
2 changed files with 2 additions and 2 deletions

View file

@ -608,7 +608,7 @@ void animatesprites_d(tspriteArray& tsprites, const DVector2& viewVec, DAngle vi
case BURNING:
case 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 COOLEXPLOSION1:

View file

@ -782,7 +782,7 @@ void animatesprites_r(tspriteArray& tsprites, const DVector2& viewVec, DAngle vi
case FIRE:
case 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 WALLLIGHT3: