diff options
Diffstat (limited to 'engines/xeen/saves.cpp')
| -rw-r--r-- | engines/xeen/saves.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/xeen/saves.cpp b/engines/xeen/saves.cpp index 82e294921b..6b88a19c8f 100644 --- a/engines/xeen/saves.cpp +++ b/engines/xeen/saves.cpp @@ -263,7 +263,7 @@ bool SavesManager::loadGame() { delete dialog; if (slotNum != -1) { - loadGameState(slotNum); + (void)loadGameState(slotNum); g_vm->_interface->drawParty(true); } @@ -291,4 +291,9 @@ bool SavesManager::saveGame() { } } +void SavesManager::doAutosave() { + if (saveGameState(kAutoSaveSlot, _("Autosave")).getCode() != Common::kNoError) + g_vm->GUIError(_("Failed to autosave")); +} + } // End of namespace Xeen |
