mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Resolve #310.
This commit is contained in:
parent
10ab32a68d
commit
21880219aa
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));
|
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…
Add table
Reference in a new issue