mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 22:02:12 +00:00
Signed/unsigned comparison error
This commit is contained in:
parent
3734eab7b6
commit
26e534304d
1 changed files with 1 additions and 1 deletions
|
@ -5038,7 +5038,7 @@ void A_SignSpin(mobj_t *actor)
|
|||
P_SetMobjState(actor, actor->info->deathstate);
|
||||
return;
|
||||
}
|
||||
if (actor->state-states != actor->info->painstate)
|
||||
if ((statenum_t)(actor->state-states) != actor->info->painstate)
|
||||
P_SetMobjState(actor, actor->info->painstate);
|
||||
actor->movedir = min((mapangle - actor->angle) >> 2, actor->movedir);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue