diff options
author | Eugene Sandulenko | 2017-11-25 23:34:43 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-11-25 23:35:28 +0100 |
commit | a7182e2a6a0062e5f7e0a224e2aca63eb3733c66 (patch) | |
tree | e10de6e03ed6f3ac02622836edba00a5d028df7d | |
parent | 88ef0087e5896b4970ad92586dcd6504ec3fbfd9 (diff) | |
download | scummvm-rg350-a7182e2a6a0062e5f7e0a224e2aca63eb3733c66.tar.gz scummvm-rg350-a7182e2a6a0062e5f7e0a224e2aca63eb3733c66.tar.bz2 scummvm-rg350-a7182e2a6a0062e5f7e0a224e2aca63eb3733c66.zip |
SCUMM: Do not try to show original save/load screen in C64 demo
Fixes bug #10116
-rw-r--r-- | engines/scumm/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |