aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/palette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/palette.cpp b/scumm/palette.cpp
index 20f13e15f5..5805db434a 100644
--- a/scumm/palette.cpp
+++ b/scumm/palette.cpp
@@ -238,7 +238,7 @@ void ScummEngine::setPaletteFromPtr(const byte *ptr, int numcolor) {
// off there, too... I wonder if it hurts other games, too? What exactly is broken
// if we remove this patch?
// Since it also causes problems in Zak256, I am turning it off for all V4 games and older.
- if (_version >= 5 || _version <= 6) {
+ if (_version >= 5 && _version <= 6) {
if ((_heversion >= 80) && (i == 15 || r < 252 || g < 252 || b < 252)) {
*dest++ = r;
*dest++ = g;