[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,1.54,1.55

Jonathan Gray khalek at users.sourceforge.net
Sat Nov 30 15:17:02 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv23300

Modified Files:
	script_v2.cpp 
Log Message:
comment an assertion in readArray to stop ft crashing in the minefield

Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- script_v2.cpp	29 Nov 2002 18:27:35 -0000	1.54
+++ script_v2.cpp	30 Nov 2002 23:16:19 -0000	1.55
@@ -403,7 +403,9 @@
 
 	base += idx * ah->dim1_size;
 
-	assert(base >= 0 && base < ah->dim1_size * ah->dim2_size);
+	// FIXME: comment this for the time being as it was causing ft to crash
+	// in the minefeild
+	// assert(base >= 0 && base < ah->dim1_size * ah->dim2_size);
 
 	if (ah->type == 4) {
 		return ah->data[base];





More information about the Scummvm-git-logs mailing list