[Scummvm-cvs-logs] CVS: scummvm/scumm object.cpp,1.191,1.192

Travis Howell kirben at users.sourceforge.net
Sun Sep 26 07:52:31 CEST 2004


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

Modified Files:
	object.cpp 
Log Message:

Correction.


Index: object.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/object.cpp,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -d -r1.191 -r1.192
--- object.cpp	26 Sep 2004 14:07:53 -0000	1.191
+++ object.cpp	26 Sep 2004 14:46:51 -0000	1.192
@@ -477,10 +477,7 @@
 	if (numstrip != 0) {
 		byte flags;
 		if (_version == 8) 
-			// TODO: This makes no sense, Kirben: flag bit 4 (16 = 2^4) isn't used;
-			// even if it was, it'd probably mean something different for us than for
-			// COMI. Maybe you mean: "flags = (od.flag & 16) != 0;" ?
-			flags = (od.flag & 16);
+			flags = (od.flag & 16) == 0;
 		else if (_features & GF_HUMONGOUS)
 			// TODO: Should be read from object header
 			flags = 0;





More information about the Scummvm-git-logs mailing list