Merge branch 'splitscreen-gp-fix' into 'master'

Fix roundqueue empty error starting a splitscreen GP

Closes #1156

See merge request KartKrew/Kart!2097
This commit is contained in:
AJ Martinez 2024-03-13 05:18:18 +00:00
commit e970bc43a0

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;
} }