aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-03-19 05:15:06 +0000
committerTravis Howell2006-03-19 05:15:06 +0000
commit8ae4dd6caa4bcca13503d6a024e4ca5d75ff4808 (patch)
tree5d002ebb3edcdab4ae80b84278888c0d0437ad80 /engines
parenta441dafae55bcd02d74f16c35ff19db3f84c958c (diff)
downloadscummvm-rg350-8ae4dd6caa4bcca13503d6a024e4ca5d75ff4808.tar.gz
scummvm-rg350-8ae4dd6caa4bcca13503d6a024e4ca5d75ff4808.tar.bz2
scummvm-rg350-8ae4dd6caa4bcca13503d6a024e4ca5d75ff4808.zip
Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStream
svn-id: r21375
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/he/sound_he.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp
index 873e6ef77e..a906a0b390 100644
--- a/engines/scumm/he/sound_he.cpp
+++ b/engines/scumm/he/sound_he.cpp
@@ -431,6 +431,7 @@ void Sound::playHESound(int soundID, int heOffset, int heChannel, int heFlags) {
memcpy(sound, ptr + stream.pos(), size);
}
+ flags |= Audio::Mixer::FLAG_AUTOFREE;
// TODO: Extra sound flags
if (heFlags & 1) {
flags |= Audio::Mixer::FLAG_LOOP;