diff options
author | Travis Howell | 2006-03-19 05:15:06 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-19 05:15:06 +0000 |
commit | 8ae4dd6caa4bcca13503d6a024e4ca5d75ff4808 (patch) | |
tree | 5d002ebb3edcdab4ae80b84278888c0d0437ad80 /engines/scumm/he | |
parent | a441dafae55bcd02d74f16c35ff19db3f84c958c (diff) | |
download | scummvm-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/scumm/he')
-rw-r--r-- | engines/scumm/he/sound_he.cpp | 1 |
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; |