aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-10-21 05:15:10 +0000
committerTravis Howell2005-10-21 05:15:10 +0000
commit9569287a1b84ea72d44ca46857f86f422d60d5d1 (patch)
treea501350b717352f19a07efa56c92b6522a5020ed /scumm
parent98be21cd3908e0bd7ed9d92efdc334b38bea8685 (diff)
downloadscummvm-rg350-9569287a1b84ea72d44ca46857f86f422d60d5d1.tar.gz
scummvm-rg350-9569287a1b84ea72d44ca46857f86f422d60d5d1.tar.bz2
scummvm-rg350-9569287a1b84ea72d44ca46857f86f422d60d5d1.zip
Add safety check for XMAP support, from original HE games.
svn-id: r19209
Diffstat (limited to 'scumm')
-rw-r--r--scumm/akos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index b004f065da..7f6550bbc6 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -490,7 +490,7 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
if (decflag == 0)
continue;
- if (_vm->_heversion >= 95) {
+ if ((shadowMask & 0x8000) && _shadow_table) {
_shadow_mode = (shadowMask) ? 3: 0;
}