mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Saner list end handling for M_DrawStatsChars
This commit is contained in:
parent
f02711e297
commit
d4049bb9a0
2 changed files with 2 additions and 2 deletions
|
|
@ -6224,7 +6224,7 @@ static void M_DrawStatsChars(void)
|
|||
V_DrawThinString(20, y - 10, highlightflags, "CHARACTER");
|
||||
V_DrawRightAlignedThinString(BASEVIDWIDTH/2 + 34, y - 10, highlightflags, "WINS");
|
||||
|
||||
while ((skin = statisticsmenu.maplist[++i]) != NEXTMAP_INVALID)
|
||||
while ((skin = statisticsmenu.maplist[++i]) < numskins)
|
||||
{
|
||||
if (location)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ static void M_StatisticsChars(void)
|
|||
}
|
||||
}
|
||||
|
||||
statisticsmenu.maplist[statisticsmenu.nummaps] = NEXTMAP_INVALID;
|
||||
statisticsmenu.maplist[statisticsmenu.nummaps] = MAXSKINS;
|
||||
|
||||
statisticsmenu.location = 0;
|
||||
statisticsmenu.maxscroll = statisticsmenu.nummaps - 6;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue