Merge branch 'fix-negative-lives-crash' into 'next'

Fix a crash when scrolling away from a save file with a negative lives count.

See merge request STJr/SRB2!1822
This commit is contained in:
Eidolon 2022-11-11 23:11:05 -06:00
commit 24ab858684

View file

@ -8418,7 +8418,7 @@ static void M_DrawLoadGameData(void)
savetodraw--;
if (savegameinfo[savetodraw].lives > 0)
if (savegameinfo[savetodraw].lives != 0)
charskin = &skins[savegameinfo[savetodraw].skinnum];
// signpost background