Merge branch 'starstruck' into 'next'

Null gamestate before map transition to prevent unwanted interactions with the map (resolves #601)

Closes #601

See merge request STJr/SRB2!1624
This commit is contained in:
LJ Sonic 2021-12-03 18:02:06 +00:00
commit 1acd0f6bac

View file

@ -3926,6 +3926,9 @@ static void G_DoCompleted(void)
if (metalrecording)
G_StopMetalRecording(false);
G_SetGamestate(GS_NULL);
wipegamestate = GS_NULL;
for (i = 0; i < MAXPLAYERS; i++)
if (playeringame[i])
G_PlayerFinishLevel(i); // take away cards and stuff