Shut the compiler up

This commit is contained in:
wolfy852 committed 2016-09-03 16:05:45 -05:00
1 parent 5bb0b5684e
commit 2d94256490
1 file changed
+1 -1
+1 -1
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