mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Disable the save game menu when not in a level.
SVN r3283 (trunk)
This commit is contained in:
parent
c12b04c130
commit
edfc16906a
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ void M_SetMenu(FName menu, int param)
|
|||
return;
|
||||
|
||||
case NAME_Savegamemenu:
|
||||
if (!usergame || (players[consoleplayer].health <= 0 && !multiplayer))
|
||||
if (!usergame || (players[consoleplayer].health <= 0 && !multiplayer) || gamestate != GS_LEVEL)
|
||||
{
|
||||
// cannot save outside the game.
|
||||
M_StartMessage (GStrings("SAVEDEAD"), 1);
|
||||
|
|
Loading…
Reference in a new issue