aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/akos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/akos.cpp b/engines/scumm/akos.cpp
index 610218985c..ab7db2c4a7 100644
--- a/engines/scumm/akos.cpp
+++ b/engines/scumm/akos.cpp
@@ -302,7 +302,7 @@ void AkosRenderer::setPalette(byte *new_palette) {
if (_vm->_game.heversion >= 99 && _paletteNum) {
for (i = 0; i < size; i++)
_palette[i] = (byte)_vm->_hePalettes[_paletteNum * 1024 + 768 + akpl[i]];
- } else if (_vm->_game.heversion >= 99 && rgbs) {
+ } else if ((_vm->_game.features & GF_16BIT_COLOR) && rgbs) {
for (i = 0; i < size; i++) {
if (new_palette[i] == 0xFF) {
uint8 col = akpl[i];