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:
James R 2022-11-19 01:37:12 -08:00
parent b79375d0ab
commit 4316169d99

View file

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