[Scummvm-git-logs] scummvm master -> 3e6c39a16e738295e998a71f48f5f42564d4e67f
peterkohaut
peterkohaut at users.noreply.github.com
Tue Mar 5 17:42:12 CET 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3e6c39a16e BLADERUNNER: Loading of savegames from the launcher
Commit: 3e6c39a16e738295e998a71f48f5f42564d4e67f
https://github.com/scummvm/scummvm/commit/3e6c39a16e738295e998a71f48f5f42564d4e67f
Author: Peter Kohaut (peter.kohaut at gmail.com)
Date: 2019-03-05T17:35:56+01:00
Commit Message:
BLADERUNNER: Loading of savegames from the launcher
Changed paths:
engines/bladerunner/bladerunner.cpp
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp
index 0bd4a40..059323e 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);
}
More information about the Scummvm-git-logs
mailing list