[Scummvm-git-logs] scummvm master -> a9abd083d97131605561c635a2e3d65adb71575e
AndywinXp
noreply at scummvm.org
Sun Feb 26 17:47:25 UTC 2023
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:
a9abd083d9 SCUMM: MANIAC (ITA): Fix bug #14198
Commit: a9abd083d97131605561c635a2e3d65adb71575e
https://github.com/scummvm/scummvm/commit/a9abd083d97131605561c635a2e3d65adb71575e
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-02-26T18:47:22+01:00
Commit Message:
SCUMM: MANIAC (ITA): Fix bug #14198
This is an original bug and it has been fixed as an enhancement.
Changed paths:
engines/scumm/script_v2.cpp
diff --git a/engines/scumm/script_v2.cpp b/engines/scumm/script_v2.cpp
index 7981e67b65f..ad5d496168b 100644
--- a/engines/scumm/script_v2.cpp
+++ b/engines/scumm/script_v2.cpp
@@ -882,7 +882,16 @@ void ScummEngine_v2::o2_verbOps() {
vs->prep = prep;
vs->curRect.left = vs->origLeft = x;
- vs->curRect.top = y;
+
+ // WORKAROUND for original bug (#14198): The italian version of Maniac Mansion
+ // erroneously set one of the verbs' ("Unlock") y coordinate to 1600 instead of
+ // 168 via scripts. We apply the fix and mark it as an enhancement.
+ if (_game.id == GID_MANIAC && _game.version == 2 && _language == Common::IT_ITA &&
+ slot == 15 && vs->curRect.top == 1600 && _enableEnhancements) {
+ vs->curRect.top = 168;
+ } else {
+ vs->curRect.top = y;
+ }
// FIXME: these keyboard map depends on the language of the game.
// E.g. a german keyboard has 'z' and 'y' swapped, while a french
More information about the Scummvm-git-logs
mailing list