aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-10-30 02:22:53 +0000
committerTravis Howell2005-10-30 02:22:53 +0000
commit6bdc74c514c767ef3512c213d769439698999e6c (patch)
tree96526aa08fb4f7290c33d175fa5ce91746cbebad
parent4b10d4077ce6bb47586dd0d11621cb94ef703fdf (diff)
downloadscummvm-rg350-6bdc74c514c767ef3512c213d769439698999e6c.tar.gz
scummvm-rg350-6bdc74c514c767ef3512c213d769439698999e6c.tar.bz2
scummvm-rg350-6bdc74c514c767ef3512c213d769439698999e6c.zip
Shadows are used in HE90 too.
svn-id: r19368
-rw-r--r--scumm/akos.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index f96436bfcc..caecbdbca8 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -477,11 +477,11 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
} else {
uint32 type = cond & 0xC0000000;
cond &= 0x3FFFFFFF;
- if (_vm->_heversion >= 95) {
+ if (_vm->_heversion >= 90) {
shadowMask = cond & 0xE000;
cond &= ~0xE000;
}
- if (_vm->_heversion >= 95 && cond == 0) {
+ if (_vm->_heversion >= 90 && cond == 0) {
decflag = 1;
} else if (type == 0x40000000) { // restored_bit
decflag = (a->_heCondMask & cond) ? 1 : 0;
@@ -498,7 +498,7 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
if (decflag == 0)
continue;
- if (_vm->_heversion >= 95) {
+ if (_vm->_heversion >= 90) {
_shadow_mode = ((shadowMask & 0x8000) && xmap) ? 3 : 0;
}
@@ -573,7 +573,7 @@ void AkosRenderer::codec1_genericDecode(Codec1 &v1) {
} else if (_shadow_mode == 2) {
error("codec1_spec2"); // TODO
} else if (_shadow_mode == 3) {
- if (_vm->_heversion >= 95) {
+ if (_vm->_heversion >= 90) {
pcolor = (pcolor << 8) + *dst;
pcolor = xmap[pcolor];
} else if (pcolor < 8) {