diff options
author | Travis Howell | 2009-04-04 06:03:09 +0000 |
---|---|---|
committer | Travis Howell | 2009-04-04 06:03:09 +0000 |
commit | 2bf567d988d67b3cae63da6095e9f770571f0ecf (patch) | |
tree | b0f05e486b762f64a99b1027ebb7b6a011f7cde9 | |
parent | 6bb7576a459e09ca2723215f2e134db4f01ac7d6 (diff) | |
download | scummvm-rg350-2bf567d988d67b3cae63da6095e9f770571f0ecf.tar.gz scummvm-rg350-2bf567d988d67b3cae63da6095e9f770571f0ecf.tar.bz2 scummvm-rg350-2bf567d988d67b3cae63da6095e9f770571f0ecf.zip |
Fix possible regression in HE games re-releases.
svn-id: r39830
-rw-r--r-- | engines/scumm/akos.cpp | 2 |
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]; |