[Scummvm-git-logs] scummvm master -> 5183b2024c5b68299e6bdb938561d99a43de35a5
sev-
sev at scummvm.org
Sun Nov 26 05:15:50 CET 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
5183b2024c SCUMM: Do not do anything for real with original save screen in MM C64 demo
Commit: 5183b2024c5b68299e6bdb938561d99a43de35a5
https://github.com/scummvm/scummvm/commit/5183b2024c5b68299e6bdb938561d99a43de35a5
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-11-26T05:15:42+01:00
Commit Message:
SCUMM: Do not do anything for real with original save screen in MM C64 demo
Changed paths:
engines/scumm/input.cpp
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index 9c6ffe6..bb579c0 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) {
More information about the Scummvm-git-logs
mailing list