aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r--scumm/akos.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index 3b2b654a70..b886d8307d 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -366,6 +366,9 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
bool useCondMask;
int lastDx, lastDy;
+ if (_vm->_heversion >= 90)
+ _shadow_mode = 0;
+
lastDx = lastDy = 0;
for (i = 0; i < 32; ++i) {
heCondMaskIndex[i] = i;
@@ -464,9 +467,6 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
_ymove -= lastDy;
}
- if (_vm->_heversion >= 90)
- _shadow_mode = 0;
-
if (!useCondMask || !akct) {
decflag = 1;
} else {