From 8ae4dd6caa4bcca13503d6a024e4ca5d75ff4808 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 19 Mar 2006 05:15:06 +0000 Subject: Revert FLAG_AUTOFREE changes to loadWAVFromStreammakeWAVStream svn-id: r21375 --- engines/scumm/he/sound_he.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/scumm/he') 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; -- cgit v1.2.3