diff options
author | Filippos Karapetis | 2010-06-12 11:43:30 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-12 11:43:30 +0000 |
commit | 6fa4d1ba805237cd44f6c64cf1088988c5d652f8 (patch) | |
tree | 353e31b3afbe41dcffa6b4378823d96c49c536d4 /engines/sci/resource_audio.cpp | |
parent | f4739f9f68026d5e3ea3304777260cef3101a031 (diff) | |
download | scummvm-rg350-6fa4d1ba805237cd44f6c64cf1088988c5d652f8.tar.gz scummvm-rg350-6fa4d1ba805237cd44f6c64cf1088988c5d652f8.tar.bz2 scummvm-rg350-6fa4d1ba805237cd44f6c64cf1088988c5d652f8.zip |
Initialize compression-related variables when loading external patch files. Fixes Cassima's speech in the intro of KQ6 (the engine thought that the external patch files of her speech were compressed)
svn-id: r49606
Diffstat (limited to 'engines/sci/resource_audio.cpp')
-rw-r--r-- | engines/sci/resource_audio.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp index 861866edc0..0e60239331 100644 --- a/engines/sci/resource_audio.cpp +++ b/engines/sci/resource_audio.cpp @@ -158,6 +158,8 @@ void ResourceManager::addNewGMPatch(const Common::String &gameId) { psrcPatch->source_type = kSourcePatch; psrcPatch->resourceFile = 0; psrcPatch->location_name = gmPatchFile; + psrcPatch->audioCompressionType = 0; + psrcPatch->audioCompressionOffsetMapping = NULL; processPatch(psrcPatch, kResourceTypePatch, 4); } } |