- 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 4f14f795b8
commit 6b0c067d46

View file

@ -323,8 +323,7 @@ void animatesprites_d(tspriteArray& tsprites, const DVector2& viewVec, DAngle vi
[[fallthrough]];
case DTILE_BURNING:
case DTILE_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;