aboutsummaryrefslogtreecommitdiff
path: root/queen/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'queen/sound.cpp')
-rw-r--r--queen/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/sound.cpp b/queen/sound.cpp
index 50768ed804..15a831b89e 100644
--- a/queen/sound.cpp
+++ b/queen/sound.cpp
@@ -62,7 +62,7 @@ bool Sound::isPlaying() {
}
int SBSound::playSound(byte *sound, uint32 size) {
- byte flags = 0 | SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTODELETE;
+ byte flags = 0 | SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE;
return _mixer->playRaw(&_sfxHandle, sound, size, 11025, flags);
}