mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
- fixed game start check for Exhumed's ingame menu.
This commit is contained in:
parent
ee191f0681
commit
f89915ac8f
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ bool M_SetMenu(FName menu, int param, FName caller)
|
||||||
{
|
{
|
||||||
case NAME_StartGame:
|
case NAME_StartGame:
|
||||||
M_ClearMenus(); // must be done before starting the level.
|
M_ClearMenus(); // must be done before starting the level.
|
||||||
if (caller == NAME_MainMenu) GameStartupInfo.Episode = param;
|
if (caller == NAME_MainMenu || caller == NAME_IngameMenu) GameStartupInfo.Episode = param;
|
||||||
STAT_StartNewGame(gVolumeNames[GameStartupInfo.Episode], GameStartupInfo.Skill);
|
STAT_StartNewGame(gVolumeNames[GameStartupInfo.Episode], GameStartupInfo.Skill);
|
||||||
inputState.ClearAllInput();
|
inputState.ClearAllInput();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue