mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 21:31:32 +00:00
Shut the compiler up
This commit is contained in:
parent
5bb0b5684e
commit
2d94256490
1 changed files with 1 additions and 1 deletions
|
@ -1328,7 +1328,7 @@ fixed_t P_GetMobjGravity(mobj_t *mo)
|
||||||
gravityadd = -gravityadd;
|
gravityadd = -gravityadd;
|
||||||
mo->eflags ^= MFE_VERTICALFLIP;
|
mo->eflags ^= MFE_VERTICALFLIP;
|
||||||
}
|
}
|
||||||
if (!(mo->eflags & MFE_VERTICALFLIP) == wasflip)
|
if (wasflip == !(mo->eflags & MFE_VERTICALFLIP)) // note!! == ! is not equivalent to != here - turns numeric into bool this way
|
||||||
P_PlayerFlip(mo);
|
P_PlayerFlip(mo);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue