mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix -Wsign-compare
This commit is contained in:
parent
5d8df43b10
commit
c5b132e8db
1 changed files with 1 additions and 1 deletions
|
|
@ -1082,7 +1082,7 @@ void K_UpdateTerrainOverlay(mobj_t *mo)
|
|||
fixed_t speedDiv = FRACUNIT + FixedMul(FixedDiv(speed, maxSpeed), o->speed);
|
||||
tic_t animSpeed = max(FixedDiv(mo->state->tics, speedDiv), 1);
|
||||
|
||||
mo->tics = min(mo->tics, animSpeed);
|
||||
mo->tics = min((tic_t)mo->tics, animSpeed);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue