- Add more information when trying to load old savegames.
- When loading a game from the menu, do not hide the fullscreen console until we know we can load the save. Otherwise, the gamestate goes invalid if the save is no good. SVN r3187 (trunk)
This commit is contained in:
parent
2effba9504
commit
dc1f5f0220
5 changed files with 24 additions and 11 deletions
|
|
@ -553,7 +553,7 @@ void DLoadSaveMenu::Drawer ()
|
|||
bool didSeeSelected = false;
|
||||
|
||||
// Draw picture area
|
||||
if (gameaction == ga_loadgame || gameaction == ga_savegame)
|
||||
if (gameaction == ga_loadgame || gameaction == ga_loadgamehidecon || gameaction == ga_savegame)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -1094,11 +1094,7 @@ bool DLoadMenu::MenuEvent (int mkey, bool fromcontroller)
|
|||
|
||||
if (mkey == MKEY_Enter)
|
||||
{
|
||||
G_LoadGame (SaveGames[Selected]->Filename.GetChars());
|
||||
if (gamestate == GS_FULLCONSOLE)
|
||||
{
|
||||
gamestate = GS_HIDECONSOLE;
|
||||
}
|
||||
G_LoadGame (SaveGames[Selected]->Filename.GetChars(), true);
|
||||
if (quickSaveSlot == (FSaveGameNode*)1)
|
||||
{
|
||||
quickSaveSlot = SaveGames[Selected];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue