[Scummvm-cvs-logs] CVS: scummvm/gob scenery.cpp,1.14,1.15

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Mon Apr 25 11:55:03 CEST 2005


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

Modified Files:
	scenery.cpp 
Log Message:
This one looks wrong too, but I don't think it has caused any crash for me.
Not yet, at least. And now, hopefully, it never will.


Index: scenery.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/scenery.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- scenery.cpp	25 Apr 2005 05:14:01 -0000	1.14
+++ scenery.cpp	25 Apr 2005 18:53:58 -0000	1.15
@@ -445,7 +445,7 @@
 
 	for (i = 0; i < picsCount; i++) {
 		pictDescId = inter_load16();
-		if (resId >= 30000) {
+		if (pictDescId >= 30000) {
 			ptr->pieces[i] =
 			    (Scen_PieceDesc *) game_loadExtData(pictDescId, 0,
 			    0);





More information about the Scummvm-git-logs mailing list