Fixed regression of commit #40904, which caused the audio in KQ5CD to be played incorrectly

svn-id: r40923
This commit is contained in:
Filippos Karapetis 2009-05-26 19:12:09 +00:00
parent 3e29b47ec3
commit d111e33df4

View File

@ -1358,6 +1358,7 @@ Audio::AudioStream* AudioResource::getAudioStream(uint16 audioNumber, int *sampl
if (_sciVersion < SCI_VERSION_1_1) {
found = findAudEntrySCI1(audioNumber, volume, offset, size);
sprintf(filename, "AUDIO%03d.%03d", _lang, volume);
flags |= Audio::Mixer::FLAG_UNSIGNED;
} else {
found = findAudEntrySCI11(audioNumber, offset);
strcpy(filename, "RESOURCE.AUD");