[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.308,1.309 akos.cpp,1.192,1.193

Travis Howell kirben at users.sourceforge.net
Tue Oct 5 07:10:29 CEST 2004


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

Modified Files:
	actor.cpp akos.cpp 
Log Message:

Missed spot


Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.308
retrieving revision 1.309
diff -u -d -r1.308 -r1.309
--- actor.cpp	4 Oct 2004 06:20:09 -0000	1.308
+++ actor.cpp	5 Oct 2004 14:05:23 -0000	1.309
@@ -1039,7 +1039,7 @@
 	}
 
 	bcr->_shadow_mode = _shadowMode;
-	if (_vm->_features & GF_SMALL_HEADER)
+	if ((_vm->_features & GF_SMALL_HEADER) || _vm->_heversion >= 71)
 		bcr->_shadow_table = NULL;
 	else if (_vm->_heversion == 70)
 		bcr->_shadow_table = _vm->_HEV7ActorPalette;

Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -d -r1.192 -r1.193
--- akos.cpp	5 Oct 2004 05:52:48 -0000	1.192
+++ akos.cpp	5 Oct 2004 14:05:23 -0000	1.193
@@ -1240,6 +1240,8 @@
 
 	byte *dstPtr = _outptr + dst.left + dst.top * _outwidth;
 
+	for (int i = 0; i < 256; i++)
+		_vm->gdi._wizImagePalette[i] = i;
 	_vm->gdi.decompressWizImage(dstPtr, _outwidth, dst, _srcptr, src);
 	return 0;
 }





More information about the Scummvm-git-logs mailing list