aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/akos.cpp6
-rw-r--r--scumm/room.cpp2
2 files changed, 4 insertions, 4 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 {
diff --git a/scumm/room.cpp b/scumm/room.cpp
index b7926346ca..6ae4fdd7ee 100644
--- a/scumm/room.cpp
+++ b/scumm/room.cpp
@@ -515,7 +515,7 @@ void ScummEngine::initRoomSubBlocks() {
// Color cycling
// HE 7.0 games load resources but don't use them.
- if (_version >= 4 && _heversion <= 60) {
+ if (_version >= 4 && _heversion <= 61) {
ptr = findResourceData(MKID('CYCL'), roomptr);
if (ptr) {
initCycl(ptr);