aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2005-10-29 00:44:30 +0000
committerEugene Sandulenko2005-10-29 00:44:30 +0000
commit0b438df7ce91b0db78daffda77adcadfb02908f0 (patch)
tree80a33bd2d17fac647fbcc1186041390ecfa7f02f /scumm
parent05aa0a6958bf851c6badb1be421b77f7c2bfa422 (diff)
downloadscummvm-rg350-0b438df7ce91b0db78daffda77adcadfb02908f0.tar.gz
scummvm-rg350-0b438df7ce91b0db78daffda77adcadfb02908f0.tar.bz2
scummvm-rg350-0b438df7ce91b0db78daffda77adcadfb02908f0.zip
Put shadow_table under DISABLE_HE
svn-id: r19353
Diffstat (limited to 'scumm')
-rw-r--r--scumm/actor.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}