aboutsummaryrefslogtreecommitdiff
path: root/scumm/akos.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-02-05 06:32:16 +0000
committerTravis Howell2006-02-05 06:32:16 +0000
commitf18672b3482654c5a4dee9a85c1c624e782d6d1c (patch)
tree78a90307aa998da89247ab6d36fa46f108493144 /scumm/akos.cpp
parent37993562af3f7b5ec9fff276f16c1ee7890f4462 (diff)
downloadscummvm-rg350-f18672b3482654c5a4dee9a85c1c624e782d6d1c.tar.gz
scummvm-rg350-f18672b3482654c5a4dee9a85c1c624e782d6d1c.tar.bz2
scummvm-rg350-f18672b3482654c5a4dee9a85c1c624e782d6d1c.zip
Another regression, palette cycling is used by HE61 too.
svn-id: r20387
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 {