mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-29 15:32:24 +00:00
- Duke/RR: fixed floor alignment of flames in sloped sectors
This commit is contained in:
parent
cfbd782692
commit
ee5832048f
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue