diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 366dd63348..9179dd86ab 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -783,14 +783,16 @@ void Scumm::scummInit() { for (i = 0; i < 16; i++) _shadowPalette[i] = i; setupC64Palette(); - } else if (_features & GF_AMIGA) { - for (i = 0; i < 16; i++) - _shadowPalette[i] = i; - setupAmigaPalette(); } else if (_features & GF_16COLOR) { - for (i = 0; i < 16; i++) - _shadowPalette[i] = i; - setupEGAPalette(); + if (_features & GF_AMIGA) { + for (i = 0; i < 16; i++) + _shadowPalette[i] = i; + setupAmigaPalette(); + } else { + for (i = 0; i < 16; i++) + _shadowPalette[i] = i; + setupEGAPalette(); + } } if (_version <= 2) { |