aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/resource.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index ccf576d51d..91cceb5968 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1485,15 +1485,17 @@ void ResourceManager::processPatch(ResourceSource *source, ResourceType resource
fileStream->seek(3, SEEK_SET);
patchDataOffset += fileStream->readByte() + kExtraHeaderSize;
break;
- case kResourceTypeWave:
case kResourceTypeAudio:
case kResourceTypeAudio36:
+#ifdef ENABLE_SCI32
+ case kResourceTypeWave:
case kResourceTypeVMD:
case kResourceTypeDuck:
case kResourceTypeClut:
case kResourceTypeTGA:
case kResourceTypeZZZ:
case kResourceTypeEtc:
+#endif
patchDataOffset = 0;
break;
default: