Fix roundqueue empty error starting a splitscreen GP

Fixes KartKrew/Kart#1156
This commit is contained in:
SteelT 2024-03-12 12:04:18 -04:00
parent ec63cdcd78
commit 73c9a7a90f

View file

@ -44,7 +44,7 @@ static void M_StartCup(UINT8 entry)
if (ssplayers > 0) if (ssplayers > 0)
{ {
// Splitscreen is not accomodated with this recovery feature. // Splitscreen is not accomodated with this recovery feature.
entry = 0; entry = UINT8_MAX;
} }
S_StartSound(NULL, sfx_s3k63); S_StartSound(NULL, sfx_s3k63);
@ -184,7 +184,7 @@ static void M_GPBackup(INT32 choice)
{ {
M_StartCup(roundqueue.position-1); M_StartCup(roundqueue.position-1);
} }
return; return;
} }