[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.320,1.321 script_v8.cpp,2.238,2.239

Max Horn fingolfin at users.sourceforge.net
Mon Mar 15 13:59:00 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14536

Modified Files:
	script_v6.cpp script_v8.cpp 
Log Message:
cleanup

Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.320
retrieving revision 1.321
diff -u -d -r1.320 -r1.321
--- script_v6.cpp	15 Mar 2004 03:33:08 -0000	1.320
+++ script_v6.cpp	15 Mar 2004 21:48:53 -0000	1.321
@@ -566,7 +566,7 @@
 		error("Too many items %d in stack list, max %d", num, maxnum);
 
 	i = num;
-	while (((int)--i) >= 0) {
+	while (i--) {
 		args[i] = pop();
 	}
 

Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.238
retrieving revision 2.239
diff -u -d -r2.238 -r2.239
--- script_v8.cpp	15 Mar 2004 03:09:48 -0000	2.238
+++ script_v8.cpp	15 Mar 2004 21:48:54 -0000	2.239
@@ -555,7 +555,7 @@
 		a = _fileHandle.readUint32LE();
 		b = _fileHandle.readUint32LE();
 		
-		// FIXME - seems the COMI scripts have a bug related to array 436.
+		// 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





More information about the Scummvm-git-logs mailing list