From 0b438df7ce91b0db78daffda77adcadfb02908f0 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 29 Oct 2005 00:44:30 +0000 Subject: Put shadow_table under DISABLE_HE svn-id: r19353 --- scumm/actor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 746160713d..9b543873ce 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1108,6 +1108,7 @@ void Actor::drawActorCostume(bool hitTestMode) { 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 @@ void Actor::drawActorCostume(bool hitTestMode) { bcr->_shadow_table = shadow_table; } else if (_vm->_heversion == 70) { bcr->_shadow_table = _vm->_HEV7ActorPalette; +#endif } else { bcr->_shadow_table = _vm->_shadowPalette; } -- cgit v1.2.3