[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.385,1.386

Eugene Sandulenko sev at users.sourceforge.net
Fri Oct 28 17:47:11 CEST 2005


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

Modified Files:
	actor.cpp 
Log Message:
Put shadow_table under DISABLE_HE


Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.385
retrieving revision 1.386
diff -u -d -r1.385 -r1.386
--- actor.cpp	22 Oct 2005 23:08:14 -0000	1.385
+++ actor.cpp	29 Oct 2005 00:44:30 -0000	1.386
@@ -1108,6 +1108,7 @@
 	bcr->_shadow_mode = _shadowMode;
 	if (_vm->_features & GF_SMALL_HEADER) {
 		bcr->_shadow_table = NULL;
+#ifndef DISABLE_HE
 	} else if (_vm->_heversion >= 95 && _heXmapNum) {
 		byte shadow_table[65536];
 		const uint8 *dataPtr = _vm->getResourceAddress(rtImage, _heXmapNum);
@@ -1120,6 +1121,7 @@
 		bcr->_shadow_table = shadow_table;
 	} else if (_vm->_heversion == 70) {
 		bcr->_shadow_table = _vm->_HEV7ActorPalette;
+#endif
 	} else {
 		bcr->_shadow_table = _vm->_shadowPalette;
 	}





More information about the Scummvm-git-logs mailing list