mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +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;
|
||||
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);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue