[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.226.2.6,1.226.2.7
Travis Howell
kirben at users.sourceforge.net
Fri Aug 13 20:41:26 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7997/scumm
Modified Files:
Tag: branch-0-6-0
script_v5.cpp
Log Message:
Back port hack for demo mode in V2 Maniac Mansion
Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.226.2.6
retrieving revision 1.226.2.7
diff -u -d -r1.226.2.6 -r1.226.2.7
--- script_v5.cpp 14 Aug 2004 03:07:32 -0000 1.226.2.6
+++ script_v5.cpp 14 Aug 2004 03:39:43 -0000 1.226.2.7
@@ -1360,6 +1360,11 @@
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
More information about the Scummvm-git-logs
mailing list