aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2016-06-13 12:00:43 +0300
committerFilippos Karapetis2016-06-13 12:01:28 +0300
commita4ef3f9d7305783a3cc8068cb5dbc978a7f22f1c (patch)
treed122635dbcf2bb30f8e74a31a6ba2fe53f6cb0cc /engines/sci
parent00761de4a3059f77b76720973eef725d50eec87d (diff)
downloadscummvm-rg350-a4ef3f9d7305783a3cc8068cb5dbc978a7f22f1c.tar.gz
scummvm-rg350-a4ef3f9d7305783a3cc8068cb5dbc978a7f22f1c.tar.bz2
scummvm-rg350-a4ef3f9d7305783a3cc8068cb5dbc978a7f22f1c.zip
SCI32: All versions of KQ7 are using the older remap range semantics
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/remap.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/graphics/remap.cpp b/engines/sci/graphics/remap.cpp
index 6f9b96a1aa..ff49e52f13 100644
--- a/engines/sci/graphics/remap.cpp
+++ b/engines/sci/graphics/remap.cpp
@@ -117,8 +117,9 @@ GfxRemap32::GfxRemap32(GfxPalette32 *palette) : _palette(palette) {
_update = false;
_remapCount = 0;
- // The remap range was 245 - 254 in SCI2, but was changed to 235 - 244 in SCI21 middle
- _remapEndColor = (getSciVersion() >= SCI_VERSION_2_1_MIDDLE) ? 244 : 254;
+ // The remap range was 245 - 254 in SCI2, but was changed to 235 - 244 in SCI21 middle.
+ // All versions of KQ7 are using the older remap range semantics.
+ _remapEndColor = (getSciVersion() >= SCI_VERSION_2_1_MIDDLE || g_sci->getGameId() == GID_KQ7) ? 244 : 254;
}
void GfxRemap32::remapOff(byte color) {