mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Differing signedness comparison
This commit is contained in:
parent
64e7708832
commit
634292a5fc
1 changed files with 1 additions and 1 deletions
|
@ -7976,7 +7976,7 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
INT32 strength;
|
||||
++mobj->movedir;
|
||||
mobj->frame &= ~FF_TRANSMASK;
|
||||
strength = min(mobj->fuse, mobj->movedir)*3;
|
||||
strength = min(mobj->fuse, (INT32)mobj->movedir)*3;
|
||||
if (strength < 10)
|
||||
mobj->frame |= ((10-strength)<<(FF_TRANSSHIFT));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue