- Duke: fixed flames not being floor aligned.

The same code was correct in the RR variant, so it just got copied over.
This commit is contained in:
Christoph Oelckers 2022-12-13 11:51:14 +01:00
parent ac09f7584a
commit cfbd782692

View file

@ -607,8 +607,7 @@ void animatesprites_d(tspriteArray& tsprites, const DVector2& viewVec, DAngle vi
[[fallthrough]];
case BURNING:
case BURNING2:
if (!OwnerAc) break;
if (!actorflag(OwnerAc, SFLAG_NOFLOORFIRE))
if (!OwnerAc || !actorflag(OwnerAc, SFLAG_NOFLOORFIRE))
t->pos.Z = t->sectp->floorz;
t->shade = -127;
break;