Differing signedness comparison
This commit is contained in:
parent
64e7708832
commit
634292a5fc
|
@ -7976,7 +7976,7 @@ void P_MobjThinker(mobj_t *mobj)
|
||||||
INT32 strength;
|
INT32 strength;
|
||||||
++mobj->movedir;
|
++mobj->movedir;
|
||||||
mobj->frame &= ~FF_TRANSMASK;
|
mobj->frame &= ~FF_TRANSMASK;
|
||||||
strength = min(mobj->fuse, mobj->movedir)*3;
|
strength = min(mobj->fuse, (INT32)mobj->movedir)*3;
|
||||||
if (strength < 10)
|
if (strength < 10)
|
||||||
mobj->frame |= ((10-strength)<<(FF_TRANSSHIFT));
|
mobj->frame |= ((10-strength)<<(FF_TRANSSHIFT));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue