mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 20:31:30 +00:00
Another spot that needs guarding
This commit is contained in:
parent
19403d2889
commit
8b0ed17690
1 changed files with 1 additions and 1 deletions
|
@ -5780,7 +5780,7 @@ static void M_DrawReplayStartMenu(void)
|
||||||
V_DrawString(BASEVIDWIDTH-92, STARTY + i*20 + 9, V_SNAPTOTOP, va("%d", demolist[dir_on[menudepthleft]].standings[i].timeorscore));
|
V_DrawString(BASEVIDWIDTH-92, STARTY + i*20 + 9, V_SNAPTOTOP, va("%d", demolist[dir_on[menudepthleft]].standings[i].timeorscore));
|
||||||
|
|
||||||
// Character face!
|
// Character face!
|
||||||
if (W_CheckNumForName(skins[demolist[dir_on[menudepthleft]].standings[i].skin].facerank) != LUMPERROR)
|
if (demolist[dir_on[menudepthleft]].standings[i].skin < numskins && W_CheckNumForName(skins[demolist[dir_on[menudepthleft]].standings[i].skin].facerank) != LUMPERROR)
|
||||||
{
|
{
|
||||||
patch = facerankprefix[demolist[dir_on[menudepthleft]].standings[i].skin];
|
patch = facerankprefix[demolist[dir_on[menudepthleft]].standings[i].skin];
|
||||||
colormap = R_GetTranslationColormap(
|
colormap = R_GetTranslationColormap(
|
||||||
|
|
Loading…
Reference in a new issue