aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/akos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/akos.cpp')
-rw-r--r--engines/scumm/akos.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/scumm/akos.cpp b/engines/scumm/akos.cpp
index 403fe72ba6..d5d6b6182b 100644
--- a/engines/scumm/akos.cpp
+++ b/engines/scumm/akos.cpp
@@ -1065,11 +1065,7 @@ byte AkosRenderer::codec5(int xmoveCur, int ymoveCur) {
bdd.shadowMode = _shadow_mode;
bdd.shadowPalette = _vm->_shadowPalette;
- bdd.actorPalette = 0;
- if (_useBompPalette) {
- for (uint i = 0; i < 256; i++)
- bdd.actorPalette[i] = _palette[i];
- }
+ bdd.actorPalette = _useBompPalette ? _palette : 0;
bdd.mirror = !_mirror;