From 6fa4d1ba805237cd44f6c64cf1088988c5d652f8 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 12 Jun 2010 11:43:30 +0000 Subject: 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 --- engines/sci/resource_audio.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/sci/resource_audio.cpp') 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); } } -- cgit v1.2.3