aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agi/sound.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp
index ca5d42d981..1b76b1ee40 100644
--- a/engines/agi/sound.cpp
+++ b/engines/agi/sound.cpp
@@ -411,6 +411,8 @@ void SoundMgr::stopSound() {
debugC(3, kDebugLevelSound, "stopSound() --> %d", _playingSound);
+ _vm->setflag(_endflag, true);
+
_endflag = -1;
if (_vm->_soundemu != SOUND_EMU_APPLE2GS) {
for (i = 0; i < NUM_CHANNELS; i++)