From f18672b3482654c5a4dee9a85c1c624e782d6d1c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 5 Feb 2006 06:32:16 +0000 Subject: Another regression, palette cycling is used by HE61 too. svn-id: r20387 --- scumm/akos.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scumm/akos.cpp') 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 { -- cgit v1.2.3