- Disable the save game menu when not in a level.

SVN r3283 (trunk)
This commit is contained in:
Braden Obrzut 2011-08-19 07:56:43 +00:00
parent c12b04c130
commit edfc16906a

View file

@ -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);