From a7182e2a6a0062e5f7e0a224e2aca63eb3733c66 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 25 Nov 2017 23:34:43 +0100 Subject: SCUMM: Do not try to show original save/load screen in C64 demo Fixes bug #10116 --- engines/scumm/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp index 6ef7e4d7f4..9c6ffe6834 100644 --- a/engines/scumm/input.cpp +++ b/engines/scumm/input.cpp @@ -485,7 +485,7 @@ 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)) { prepareSavegame(); - if (_game.id == GID_MANIAC && _game.version == 0) { + if (_game.id == GID_MANIAC && _game.version == 0 && !(_game.features & GF_DEMO)) { runScript(2, 0, 0, 0); } if (_game.id == GID_MANIAC &&_game.platform == Common::kPlatformNES) { -- cgit v1.2.3