[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.136.2.1,1.136.2.2
James Brown
ender at users.sourceforge.net
Thu Jul 31 08:42:11 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv9244/scumm
Modified Files:
Tag: branch-0-5-0
script_v5.cpp
Log Message:
Evil nasty hack for RC #771499 (ZakV2 Lotto bug)
Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.136.2.1
retrieving revision 1.136.2.2
diff -u -d -r1.136.2.1 -r1.136.2.2
--- script_v5.cpp 30 Jul 2003 08:14:28 -0000 1.136.2.1
+++ script_v5.cpp 31 Jul 2003 15:26:45 -0000 1.136.2.2
@@ -2139,6 +2139,15 @@
int script;
script = getVarOrDirectByte(0x80);
+
+ if ((_gameId == GID_ZAK) && (_roomResource == 7) && (vm.slot[_currentScript].number == 10001)) {
+ // FIXME: Nasty hack for bug #771499
+ // Don't let the exit script for room 7 stop the buy script (24),
+ // switching to the number selection keypad (script 15)
+ if ((script == 24) && isScriptRunning(15))
+ return;
+ }
+
if (!script)
stopObjectCode();
else
More information about the Scummvm-git-logs
mailing list