[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.160,1.161

Max Horn fingolfin at users.sourceforge.net
Mon Sep 8 18:11:14 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv4438

Modified Files:
	actor.cpp 
Log Message:
turns out that in the GFX usage bit conversion process, we accidentally left out this code. This should fix bug #744794 and potentially others

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- actor.cpp	3 Sep 2003 17:00:30 -0000	1.160
+++ actor.cpp	8 Sep 2003 20:46:25 -0000	1.161
@@ -1574,6 +1574,7 @@
 
 	for (i = 0; i < gdi._numStrips; i++) {
 		int strip = _screenStartStrip + i;
+		clearGfxUsageBit(strip, USAGE_BIT_DIRTY);
 		for (j = 1; j < _numActors; j++) {
 			if (testGfxUsageBit(strip, j) &&
 				((_actors[j].top != 0xFF || _actors[j].needRedraw) || _actors[j].needBgReset)) {





More information about the Scummvm-git-logs mailing list