aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 4c81bde7a5..0d27d13c15 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -2048,7 +2048,7 @@ void ScummEngine::readMAXS() {
_shadowPaletteSize = NUM_SHADOW_PALETTE * 256;
// FIXME better check for the more recent windows based humongous games...
- } else if (_gameId == GID_PJSDEMO) {
+ } else if (_features & GF_HE7_RESOURCES) {
_fileHandle.readUint16LE();
_numVariables = _fileHandle.readUint16LE();
_numBitVariables = _fileHandle.readUint16LE();