diff options
Diffstat (limited to 'engines/sci/graphics/remap32.cpp')
-rw-r--r-- | engines/sci/graphics/remap32.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/graphics/remap32.cpp b/engines/sci/graphics/remap32.cpp index d5a2362f14..768594f974 100644 --- a/engines/sci/graphics/remap32.cpp +++ b/engines/sci/graphics/remap32.cpp @@ -21,6 +21,7 @@ */ #include "sci/sci.h" +#include "sci/engine/features.h" #include "sci/graphics/palette32.h" #include "sci/graphics/remap32.h" @@ -300,7 +301,7 @@ GfxRemap32::GfxRemap32() : // match the highest possible value of `_remapStartColor` assert(_remapStartColor == 236); - if (getSciVersion() >= SCI_VERSION_2_1_MIDDLE || g_sci->getGameId() == GID_KQ7) { + if (g_sci->_features->hasNewPaletteCode()) { _remaps.resize(9); } else { _remaps.resize(19); |