mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 08:31:45 +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;
|
return;
|
||||||
|
|
||||||
case NAME_Savegamemenu:
|
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.
|
// cannot save outside the game.
|
||||||
M_StartMessage (GStrings("SAVEDEAD"), 1);
|
M_StartMessage (GStrings("SAVEDEAD"), 1);
|
||||||
|
|
Loading…
Reference in a new issue