mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-22 05:21:11 +00:00
Make sure sector reverse DOES NOT influence Stone Shoe directly
Stone Shoe copies flip flag from player. Sector gravity was applied separately.
This commit is contained in:
parent
c2aa8b1032
commit
5fec05d8ac
1 changed files with 3 additions and 2 deletions
|
|
@ -1095,7 +1095,7 @@ fixed_t P_GetMobjGravity(mobj_t *mo)
|
|||
|
||||
wasflip = (mo->eflags & MFE_VERTICALFLIP) != 0;
|
||||
|
||||
if (mo->type != MT_SPINFIRE)
|
||||
if (mo->type != MT_SPINFIRE && mo->type != MT_STONESHOE)
|
||||
mo->eflags &= ~MFE_VERTICALFLIP;
|
||||
|
||||
if (mo->subsector->sector->ffloors) // Check for 3D floor gravity too.
|
||||
|
|
@ -1303,7 +1303,7 @@ fixed_t P_GetMobjGravity(mobj_t *mo)
|
|||
gravityadd *= 2;
|
||||
break;
|
||||
case MT_STONESHOE:
|
||||
gravityadd *= 4;
|
||||
gravityadd = -4 * abs(gravityadd) * P_MobjFlip(mo);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
@ -15487,6 +15487,7 @@ boolean P_MobjCanChangeFlip(mobj_t *mobj)
|
|||
case MT_SHRINK_CHAIN:
|
||||
case MT_SHRINK_LASER:
|
||||
case MT_SHRINK_PARTICLE:
|
||||
case MT_STONESHOE:
|
||||
return false;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue