mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 11:40:52 +00:00
Removed now-irrelevant braces.
This commit is contained in:
parent
25ab977862
commit
e8775419d1
1 changed files with 3 additions and 5 deletions
|
@ -1323,12 +1323,10 @@ fixed_t P_GetMobjGravity(mobj_t *mo)
|
||||||
if (mo->player->climbing || (mo->player->pflags & PF_NIGHTSMODE))
|
if (mo->player->climbing || (mo->player->pflags & PF_NIGHTSMODE))
|
||||||
gravityadd = 0;
|
gravityadd = 0;
|
||||||
|
|
||||||
|
if (!!(mo->flags2 & MF2_OBJECTFLIP) != !!(mo->player->powers[pw_gravityboots]))
|
||||||
{
|
{
|
||||||
if (!!(mo->flags2 & MF2_OBJECTFLIP) != !!(mo->player->powers[pw_gravityboots]))
|
gravityadd = -gravityadd;
|
||||||
{
|
mo->eflags ^= MFE_VERTICALFLIP;
|
||||||
gravityadd = -gravityadd;
|
|
||||||
mo->eflags ^= MFE_VERTICALFLIP;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (!!(mo->eflags & MFE_VERTICALFLIP) != wasflip)
|
if (!!(mo->eflags & MFE_VERTICALFLIP) != wasflip)
|
||||||
P_PlayerFlip(mo);
|
P_PlayerFlip(mo);
|
||||||
|
|
Loading…
Reference in a new issue