aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource_audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/resource_audio.cpp')
-rw-r--r--engines/sci/resource_audio.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp
index 61628081b2..dfc3d2fcfb 100644
--- a/engines/sci/resource_audio.cpp
+++ b/engines/sci/resource_audio.cpp
@@ -468,6 +468,14 @@ int ResourceManager::readAudioMapSCI11(IntMapResourceSource *map) {
n = 0x17010001;
}
+ // QFG4CD has an orphaned audio36 resource that additionally has the wrong tuple.
+ // The audio36 tuple is 520 2 59 0 3. The message would be 520 2 59 0 2. bug #10849
+ // We restore the missing message in message.cpp.
+ if (g_sci->getGameId() == GID_QFG4 && g_sci->isCD() &&
+ map->_mapNumber == 520 && n == 0x023b0003) {
+ n = 0x023b0002;
+ }
+
if (isEarly) {
offset = ptr.getUint32LE();
ptr += 4;