[Scummvm-cvs-logs] CVS: scummvm actor.cpp,1.100,1.101

Max Horn fingolfin at users.sourceforge.net
Fri Jul 26 11:08:10 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv5270

Modified Files:
	actor.cpp 
Log Message:
fixed the zbuffering once more

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/actor.cpp,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- actor.cpp	26 Jul 2002 16:50:41 -0000	1.100
+++ actor.cpp	26 Jul 2002 18:07:40 -0000	1.101
@@ -576,9 +576,6 @@
 	abr.y = dstY;
 	abr.dist = 0;
 
-	if ((_vm->_features & GF_SMALL_HEADER) && isInClass(22))
-		return abr;
-
 	if (ignoreBoxes == 0) {
 		threshold = 30;
 
@@ -871,7 +868,7 @@
 		cr._zbuf = _vm->getMaskFromBox(walkbox);
 
 		if (forceClip)
-			cr._zbuf = 1;
+			cr._zbuf = forceClip;
 		else if (isInClass(20))
 			cr._zbuf = 0;
 		else if (cr._zbuf > _vm->gdi._numZBuffer)





More information about the Scummvm-git-logs mailing list