diff options
author | Peter Kohaut | 2019-03-05 17:34:43 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-03-05 17:35:56 +0100 |
commit | 3e6c39a16e738295e998a71f48f5f42564d4e67f (patch) | |
tree | 46d3e9b9a21fe33e34294d6efec44fd5fc7b8807 /engines | |
parent | ddffce1dc547563a88388ee1bf681f2a748fb46b (diff) | |
download | scummvm-rg350-3e6c39a16e738295e998a71f48f5f42564d4e67f.tar.gz scummvm-rg350-3e6c39a16e738295e998a71f48f5f42564d4e67f.tar.bz2 scummvm-rg350-3e6c39a16e738295e998a71f48f5f42564d4e67f.zip |
BLADERUNNER: Loading of savegames from the launcher
Diffstat (limited to 'engines')
-rw-r--r-- | engines/bladerunner/bladerunner.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp index 0bd4a400cf..059323e70f 100644 --- a/engines/bladerunner/bladerunner.cpp +++ b/engines/bladerunner/bladerunner.cpp @@ -311,7 +311,10 @@ Common::Error BladeRunnerEngine::run() { } if (warnUserAboutUnsupportedGame()) { - if (hasSavegames) { + + if (ConfMan.hasKey("save_slot")) { + loadGameState(ConfMan.getInt("save_slot")); + } else if (hasSavegames) { _kia->_forceOpen = true; _kia->open(kKIASectionLoad); } |