Shut the compiler up

This commit is contained in:
wolfy852 2016-09-03 16:05:45 -05:00
parent 5bb0b5684e
commit 2d94256490

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