Shut the compiler up

This commit is contained in:
wolfy852 2016-09-03 16:05:45 -05:00
parent 5bb0b5684e
commit 2d94256490
1 changed files with 1 additions and 1 deletions

View File

@ -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