aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-11-26 05:14:33 +0100
committerEugene Sandulenko2017-11-26 05:15:42 +0100
commit5183b2024c5b68299e6bdb938561d99a43de35a5 (patch)
treee7d23bf5648b42cc9b9acfe3a73aff6c7014c411
parentfbefda8a2fb7441690b5a47004fc7009c9bc7424 (diff)
downloadscummvm-rg350-5183b2024c5b68299e6bdb938561d99a43de35a5.tar.gz
scummvm-rg350-5183b2024c5b68299e6bdb938561d99a43de35a5.tar.bz2
scummvm-rg350-5183b2024c5b68299e6bdb938561d99a43de35a5.zip
SCUMM: Do not do anything for real with original save screen in MM C64 demo
-rw-r--r--engines/scumm/input.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index 9c6ffe6834..bb579c08b6 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -484,8 +484,10 @@ void ScummEngine_v2::processKeyboard(Common::KeyState lastKeyHit) {
// On Alt-F5 prepare savegame for the original save/load dialog.
if (lastKeyHit.keycode == Common::KEYCODE_F5 && lastKeyHit.hasFlags(Common::KBD_ALT)) {
+ if (_game.id == GID_MANIAC && _game.version == 0 && _game.features & GF_DEMO)
+ return;
prepareSavegame();
- if (_game.id == GID_MANIAC && _game.version == 0 && !(_game.features & GF_DEMO)) {
+ if (_game.id == GID_MANIAC && _game.version == 0) {
runScript(2, 0, 0, 0);
}
if (_game.id == GID_MANIAC &&_game.platform == Common::kPlatformNES) {