aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-07-26 11:49:41 +0000
committerTravis Howell2004-07-26 11:49:41 +0000
commit1d31aff18ee3402a06f425c4a2964fe34a8c4ae5 (patch)
tree555150d0298870f84050d083d341260b6bc5dcfe /scumm
parente256033622af0cd0afda6bd4d6127a90880d4ee1 (diff)
downloadscummvm-rg350-1d31aff18ee3402a06f425c4a2964fe34a8c4ae5.tar.gz
scummvm-rg350-1d31aff18ee3402a06f425c4a2964fe34a8c4ae5.tar.bz2
scummvm-rg350-1d31aff18ee3402a06f425c4a2964fe34a8c4ae5.zip
One last hack to allow demo script in V2 Maniac Mansion.
svn-id: r14335
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