[Scummvm-cvs-logs] CVS: scummvm/queen logic.cpp,1.11,1.12

David Eriksson twogood at users.sourceforge.net
Thu Oct 2 12:39:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv4886

Modified Files:
	logic.cpp 
Log Message:
You did not see the previous version of this code

Index: logic.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/logic.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- logic.cpp	2 Oct 2003 19:20:00 -0000	1.11
+++ logic.cpp	2 Oct 2003 19:37:51 -0000	1.12
@@ -235,10 +235,8 @@
 	uint16 bobnum = 0;
 	uint16 bobtype = 0; // 1 for animated, 0 for static
 
-	if (obj > _numObjects) {
-		debug(0, "Object index (%i) > _numObjects (%i)", obj, _numObjects);
-		abort();
-	}
+	if (obj > _numObjects)
+		error("Object index (%i) > _numObjects (%i)", obj, _numObjects);
 
 	uint16 room = _objectData[obj].room;
 





More information about the Scummvm-git-logs mailing list