aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-08 19:36:33 +0000
committerFilippos Karapetis2010-06-08 19:36:33 +0000
commit73010518b22c8c24cf09b07bbd6c17655aa1d331 (patch)
treebafddf15b05fc05f9d2f92a0f9875b3eac9a1e38 /engines
parent67690e89a37a27ff34ab515c934edbce887fa897 (diff)
downloadscummvm-rg350-73010518b22c8c24cf09b07bbd6c17655aa1d331.tar.gz
scummvm-rg350-73010518b22c8c24cf09b07bbd6c17655aa1d331.tar.bz2
scummvm-rg350-73010518b22c8c24cf09b07bbd6c17655aa1d331.zip
Fixed compilation when the SCI32 code is disabled
svn-id: r49514
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/resource.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 21ffcb4128..dda03e6063 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -620,9 +620,11 @@ void ResourceManager::scanNewSources() {
switch (source->source_type) {
case kSourceDirectory:
readResourcePatches(source);
+#ifdef ENABLE_SCI32
// We can't use getSciVersion() at this point, thus using _volVersion
if (_volVersion >= kResVersionSci11) // SCI1.1+
readResourcePatchesBase36(source);
+#endif
readWaveAudioPatches();
break;
case kSourceExtMap: