aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
diff options
context:
space:
mode:
authorKawa2019-06-23 00:46:53 +0200
committerFilippos Karapetis2019-06-23 01:46:53 +0300
commit9aadb2726732e1fcd517088bdcaff60a8a49710d (patch)
tree75a2b0d25058ad47cf8bd523ffa471dc1b3900f7 /engines/sci/sci.cpp
parent536db4d7e72a0c775be4fbab5d560f8012b019c1 (diff)
downloadscummvm-rg350-9aadb2726732e1fcd517088bdcaff60a8a49710d.tar.gz
scummvm-rg350-9aadb2726732e1fcd517088bdcaff60a8a49710d.tar.bz2
scummvm-rg350-9aadb2726732e1fcd517088bdcaff60a8a49710d.zip
SCI: Add some more SCI11+ features
Also gate them behind the presence of a 184.VOC resource instead of GID_CATDATE. This should not matter with regards to the remap effects -- the 2015 and 2016 demos had none, and the first that did has an unknown release status. Only the 2017 demo would fall, which would be easily fixed by dropping in a valid 184.VOC patch file.
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r--engines/sci/sci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 01d44da025..428c914a0d 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -590,7 +590,7 @@ void SciEngine::initGraphics() {
} else {
#endif
_gfxPalette16 = new GfxPalette(_resMan, _gfxScreen);
- if (getGameId() == GID_QFG4DEMO || getGameId() == GID_CATDATE)
+ if (getGameId() == GID_QFG4DEMO || _resMan->testResource(ResourceId(kResourceTypeVocab, 184)))
_gfxRemap16 = new GfxRemap(_gfxPalette16);
#ifdef ENABLE_SCI32
}