diff options
author | Vhati | 2018-12-24 09:30:44 -0500 |
---|---|---|
committer | Filippos Karapetis | 2018-12-28 18:11:31 +0200 |
commit | 2d75c6b271e71168bb42024606f4b7fc510d1751 (patch) | |
tree | e96e8fd0944e9217e0784358d414bd458c75a13f /engines/sci/resource_audio.cpp | |
parent | 8f2da7086c74220869d8da0ae5c01b2999da37fd (diff) | |
download | scummvm-rg350-2d75c6b271e71168bb42024606f4b7fc510d1751.tar.gz scummvm-rg350-2d75c6b271e71168bb42024606f4b7fc510d1751.tar.bz2 scummvm-rg350-2d75c6b271e71168bb42024606f4b7fc510d1751.zip |
SCI32: Fix QFG4 Rusalka flowers dialogue
Fixes mixed up text/audio when giving her flowers, bug #10849
Diffstat (limited to 'engines/sci/resource_audio.cpp')
-rw-r--r-- | engines/sci/resource_audio.cpp | 8 |
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; |