mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-20 05:32:41 +00:00
Merge branch 'replay-hut-addon-crash-fix' into 'master'
Fix replay hut menu crashing when trying to display missing skins 2 electric boogaloo See merge request KartKrew/Kart!291
This commit is contained in:
commit
e81c192a9f
1 changed files with 1 additions and 1 deletions
|
|
@ -5693,7 +5693,7 @@ static void M_DrawReplayStartMenu(void)
|
|||
// Lat: 08/06/2020: For some reason missing skins have their value set to 255 (don't even ask me why I didn't write this)
|
||||
// and for an even STRANGER reason this passes the first check below, so we're going to make sure that the skin here ISN'T 255 before we do anything stupid.
|
||||
|
||||
if (demolist[dir_on[menudepthleft]].standings[0].skin != 0xFF && W_CheckNumForName(skins[demolist[dir_on[menudepthleft]].standings[i].skin].facerank) != LUMPERROR)
|
||||
if (demolist[dir_on[menudepthleft]].standings[i].skin != 0xFF && W_CheckNumForName(skins[demolist[dir_on[menudepthleft]].standings[i].skin].facerank) != LUMPERROR)
|
||||
{
|
||||
patch = facerankprefix[demolist[dir_on[menudepthleft]].standings[i].skin];
|
||||
colormap = R_GetTranslationColormap(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue