From 5183b2024c5b68299e6bdb938561d99a43de35a5 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 26 Nov 2017 05:14:33 +0100 Subject: SCUMM: Do not do anything for real with original save screen in MM C64 demo --- engines/scumm/input.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3