mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Resolve #310.
This commit is contained in:
parent
ca74636a27
commit
c8c5237540
1 changed files with 5 additions and 2 deletions
|
@ -7743,9 +7743,12 @@ void P_ElementalFire(player_t *player, boolean cropcircle)
|
|||
I_Assert(!P_MobjWasRemoved(player->mo));
|
||||
|
||||
if (player->mo->eflags & MFE_VERTICALFLIP)
|
||||
ground = player->mo->ceilingz - FixedMul(mobjinfo[MT_SPINFIRE].height - 1, player->mo->scale);
|
||||
ground = player->mo->ceilingz - FixedMul(mobjinfo[MT_SPINFIRE].height, player->mo->scale);
|
||||
else
|
||||
ground = player->mo->floorz + 1;
|
||||
ground = player->mo->floorz;
|
||||
|
||||
if (cropcircle)
|
||||
ground += P_MobjFlip(player->mo);
|
||||
|
||||
if (cropcircle)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue