aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/he')
-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;