Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart-Public into internal16fixes

This commit is contained in:
toaster 2022-10-28 15:47:21 +01:00
commit 8a49fa5ec0

View file

@ -5616,7 +5616,7 @@ static void DrawReplayHutReplayInfo(void)
}
// Character face!
if (W_CheckNumForName(skins[demolist[dir_on[menudepthleft]].standings[0].skin].facewant) != LUMPERROR)
if (demolist[dir_on[menudepthleft]].standings[0].skin < numskins && W_CheckNumForName(skins[demolist[dir_on[menudepthleft]].standings[0].skin].facewant) != LUMPERROR)
{
patch = facewantprefix[demolist[dir_on[menudepthleft]].standings[0].skin];
colormap = R_GetTranslationColormap(