aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-04-19 04:16:03 +0000
committerTravis Howell2005-04-19 04:16:03 +0000
commitf3129c261a9f31b0501650725c6c30415b5bd368 (patch)
tree4085ce21ebf02eca05a4ff3f64e9cfe54930846e
parentb916eb19759d85cff90282078a0792b8355e941f (diff)
downloadscummvm-rg350-f3129c261a9f31b0501650725c6c30415b5bd368.tar.gz
scummvm-rg350-f3129c261a9f31b0501650725c6c30415b5bd368.tar.bz2
scummvm-rg350-f3129c261a9f31b0501650725c6c30415b5bd368.zip
Ooops
svn-id: r17675
-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;