[Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.166,1.167

Travis Howell kirben at users.sourceforge.net
Sun Feb 15 05:14:08 CET 2004


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

Modified Files:
	object.cpp 
Log Message:

Add back fix for bug #738352 and restrict to needed games only (Checked against disasm.)


Index: object.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/object.cpp,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- object.cpp	13 Feb 2004 11:11:16 -0000	1.166
+++ object.cpp	15 Feb 2004 13:06:09 -0000	1.167
@@ -350,7 +350,8 @@
 	do {
 		a = od->parentstate;
 		if (!od->parent) {
-			drawObject(i, arg);
+			if ((_version <= 6 && !(_features & GF_HUMONGOUS)) || od->fl_object_index == 0)
+				drawObject(i, arg);
 			break;
 		}
 		od = &_objs[od->parent];





More information about the Scummvm-git-logs mailing list