aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tinsel/tinsel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp
index a267a4ae44..5241459e9e 100644
--- a/engines/tinsel/tinsel.cpp
+++ b/engines/tinsel/tinsel.cpp
@@ -972,12 +972,12 @@ Common::Error TinselEngine::run() {
// Load game from specified slot, if any
//
- // TODO: We might want to think about taking care of possible errors
- // when loading the save state.
+ // TODO: We might want to think about properly taking care of possible
+ // errors when loading the save state.
if (ConfMan.hasKey("save_slot")) {
- loadGameState(ConfMan.getInt("save_slot"));
- loadingFromGMM = true;
+ if (loadGameState(ConfMan.getInt("save_slot")) == Common::kNoError)
+ loadingFromGMM = true;
}
// Foreground loop