From 73010518b22c8c24cf09b07bbd6c17655aa1d331 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 8 Jun 2010 19:36:33 +0000 Subject: Fixed compilation when the SCI32 code is disabled svn-id: r49514 --- engines/sci/resource.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') 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: -- cgit v1.2.3