aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v5.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index f156b0175f..a79b8824b2 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1359,6 +1359,11 @@ void ScummEngine_v5::o5_isEqual() {
if (_gameId == GID_MONKEY2 && var == VAR_SOUNDCARD && b == 5)
b = a;
+ // HACK: To allow demo script of Maniac Mansion V2
+ // The camera x position is only 100, instead of 180, after game title name scrolls.
+ if (_gameId == GID_MANIAC && _version == 2 && _demoMode && isScriptRunning(173) && b == 180)
+ b = 100;
+
if (b == a)
ignoreScriptWord();
else