SCUMM: Do not try to show original save/load screen in C64 demo

Fixes bug #10116
This commit is contained in:
Eugene Sandulenko 2017-11-25 23:34:43 +01:00
parent 88ef0087e5
commit a7182e2a6a

View File

@ -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) {