aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/akos.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index 63bb44fc36..d2120c62be 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -490,6 +490,10 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
} else {
decflag = (a->_heCondMask & cond) ? 1 : 0;
}
+
+ if (_vm->_heversion >= 90) {
+ _shadow_mode = ((shadowMask & 0x8000) && xmap) ? 3 : 0;
+ }
}
}
@@ -498,10 +502,6 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
if (decflag == 0)
continue;
- if (_vm->_heversion >= 90) {
- _shadow_mode = ((shadowMask & 0x8000) && xmap) ? 3 : 0;
- }
-
switch (codec) {
case 1:
result |= codec1(xmoveCur, ymoveCur);