Signed/unsigned comparison error

This commit is contained in:
toaster 2019-11-09 16:43:44 +00:00
parent 3734eab7b6
commit 26e534304d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}