mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-24 00:42:32 +00:00
Fix -Wtype-limits
This subtraction cannot yield a negative value, even if the type were signed, so the max is useless.
This commit is contained in:
parent
b79375d0ab
commit
4316169d99
1 changed files with 1 additions and 1 deletions
|
|
@ -1611,7 +1611,7 @@ static void K_DrawKartPositionNum(INT32 num)
|
|||
|
||||
if (leveltime < (starttime + NUMTRANSMAPS))
|
||||
{
|
||||
trans = max(0, (starttime + NUMTRANSMAPS) - leveltime);
|
||||
trans = (starttime + NUMTRANSMAPS) - leveltime;
|
||||
}
|
||||
|
||||
if (trans >= NUMTRANSMAPS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue