One last hack to allow demo script in V2 Maniac Mansion.
svn-id: r14335
This commit is contained in:
parent
e256033622
commit
1d31aff18e
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue