diff options
author | Eugene Sandulenko | 2010-06-15 10:28:40 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:28:40 +0000 |
commit | 4dddfd44ceb8de712e51e83738f897ea9f9d3444 (patch) | |
tree | 09bb863f375863425449ef4ae4d09dfcff015619 /engines/agi | |
parent | 968f959158ced8c1820b847e4c2b3a85d82d6e61 (diff) | |
download | scummvm-rg350-4dddfd44ceb8de712e51e83738f897ea9f9d3444.tar.gz scummvm-rg350-4dddfd44ceb8de712e51e83738f897ea9f9d3444.tar.bz2 scummvm-rg350-4dddfd44ceb8de712e51e83738f897ea9f9d3444.zip |
AGI: Fix bug #2960584.
Bug #2960584: "AGI: (Fan) SQ0: Music lost on saving (and loading)".
Actually music did not loop at all. Our looping code was broken.
svn-id: r49735
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/sound.cpp | 2 |
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++) |