[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.260,2.261
Max Horn
fingolfin at users.sourceforge.net
Sat Jul 31 18:21:01 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27720
Modified Files:
script_v8.cpp
Log Message:
Fix for bug #953302 (COMI: Crash when you choose Rottingham as your first oponent); this would be suitable for the 0.6.x branch, too...
Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.260
retrieving revision 2.261
diff -u -d -r2.260 -r2.261
--- script_v8.cpp 19 Jul 2004 01:58:08 -0000 2.260
+++ script_v8.cpp 1 Aug 2004 01:19:54 -0000 2.261
@@ -544,13 +544,7 @@
a = _fileHandle.readUint32LE();
b = _fileHandle.readUint32LE();
- // WORKAROUND: seems the COMI scripts have a bug related to array 436.
- // and visible in script 2015, room 20. Basically, the dimensions
- // are swapped in the definition of the array, but its obvious
- // that this must be a script bug simply by looking at the defintions
- // of other arrays and how they are used.
- // Talk to fingolfin if you have questions about this :-)
- if (num == 436)
+ if (b != 0)
defineArray(num, 5, b, a);
else
defineArray(num, 5, a, b);
More information about the Scummvm-git-logs
mailing list