aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-04-04 06:03:09 +0000
committerTravis Howell2009-04-04 06:03:09 +0000
commit2bf567d988d67b3cae63da6095e9f770571f0ecf (patch)
treeb0f05e486b762f64a99b1027ebb7b6a011f7cde9
parent6bb7576a459e09ca2723215f2e134db4f01ac7d6 (diff)
downloadscummvm-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.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];