mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 00:34:32 +00:00
Signed/unsigned comparison error
This commit is contained in:
parent
2f4528663c
commit
083f72eb31
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…
Add table
Reference in a new issue