mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +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);
|
P_SetMobjState(actor, actor->info->deathstate);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (actor->state-states != actor->info->painstate)
|
if ((statenum_t)(actor->state-states) != actor->info->painstate)
|
||||||
P_SetMobjState(actor, actor->info->painstate);
|
P_SetMobjState(actor, actor->info->painstate);
|
||||||
actor->movedir = min((mapangle - actor->angle) >> 2, actor->movedir);
|
actor->movedir = min((mapangle - actor->angle) >> 2, actor->movedir);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue