mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- initiate a proper game state reset when ending an episode.
Fixes #207.
This commit is contained in:
parent
6eba7dc410
commit
57cdcda253
1 changed files with 4 additions and 2 deletions
|
@ -643,7 +643,8 @@ void ProcessFrame(void)
|
|||
M_SetMenu(NAME_CreditsMenu);
|
||||
gGameOptions.uGameFlags &= ~3;
|
||||
gQuitGame = 1;
|
||||
};
|
||||
gRestartGame = true;
|
||||
};
|
||||
|
||||
if (gGameOptions.uGameFlags&8)
|
||||
{
|
||||
|
@ -904,7 +905,8 @@ static void commonTicker(bool &playvideo)
|
|||
playvideo = !bQuickStart;
|
||||
}
|
||||
else playvideo = false;
|
||||
gamestate = GS_STARTUP;
|
||||
// Don't switch to startup if we're already outside the game.
|
||||
if (gamestate == GS_LEVEL) gamestate = GS_STARTUP;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue