aboutsummaryrefslogtreecommitdiff
path: root/engines/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dialogs.cpp')
-rw-r--r--engines/dialogs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dialogs.cpp b/engines/dialogs.cpp
index 2ecb835d86..962e0857c6 100644
--- a/engines/dialogs.cpp
+++ b/engines/dialogs.cpp
@@ -144,6 +144,10 @@ void MainMenuDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
int slot = _loadDialog->runModal(plugin, ConfMan.getActiveDomainName());
if (slot >= 0) {
+ // FIXME: For now we just ignore the return
+ // value, which is quite bad since it could
+ // be a fatal loading error, which renders
+ // the engine unusable.
_engine->loadGameState(slot);
close();
}