Resolve #310.
This commit is contained in:
parent
ca74636a27
commit
c8c5237540
|
@ -7743,9 +7743,12 @@ void P_ElementalFire(player_t *player, boolean cropcircle)
|
||||||
I_Assert(!P_MobjWasRemoved(player->mo));
|
I_Assert(!P_MobjWasRemoved(player->mo));
|
||||||
|
|
||||||
if (player->mo->eflags & MFE_VERTICALFLIP)
|
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
|
else
|
||||||
ground = player->mo->floorz + 1;
|
ground = player->mo->floorz;
|
||||||
|
|
||||||
|
if (cropcircle)
|
||||||
|
ground += P_MobjFlip(player->mo);
|
||||||
|
|
||||||
if (cropcircle)
|
if (cropcircle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue