aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-10-05 14:05:23 +0000
committerTravis Howell2004-10-05 14:05:23 +0000
commit96c493d94bb2bb63fb0e2d5b8a21f19e960a77e2 (patch)
treeadb3e1c6fc22b15e695910de4a608670e1dbc70d /scumm
parent29e0bbb13fe8e2547b560f211540c0a97e2c921b (diff)
downloadscummvm-rg350-96c493d94bb2bb63fb0e2d5b8a21f19e960a77e2.tar.gz
scummvm-rg350-96c493d94bb2bb63fb0e2d5b8a21f19e960a77e2.tar.bz2
scummvm-rg350-96c493d94bb2bb63fb0e2d5b8a21f19e960a77e2.zip
Missed spot
svn-id: r15420
Diffstat (limited to 'scumm')
-rw-r--r--scumm/actor.cpp2
-rw-r--r--scumm/akos.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 75d830c5c8..c95968986e 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1039,7 +1039,7 @@ void Actor::drawActorCostume(bool hitTestMode) {
}
bcr->_shadow_mode = _shadowMode;
- if (_vm->_features & GF_SMALL_HEADER)
+ if ((_vm->_features & GF_SMALL_HEADER) || _vm->_heversion >= 71)
bcr->_shadow_table = NULL;
else if (_vm->_heversion == 70)
bcr->_shadow_table = _vm->_HEV7ActorPalette;
diff --git a/scumm/akos.cpp b/scumm/akos.cpp
index ee416227da..b03a3d710b 100644
--- a/scumm/akos.cpp
+++ b/scumm/akos.cpp
@@ -1240,6 +1240,8 @@ byte AkosRenderer::codec32(int xmoveCur, int ymoveCur) {
byte *dstPtr = _outptr + dst.left + dst.top * _outwidth;
+ for (int i = 0; i < 256; i++)
+ _vm->gdi._wizImagePalette[i] = i;
_vm->gdi.decompressWizImage(dstPtr, _outwidth, dst, _srcptr, src);
return 0;
}