aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-05-24 13:50:19 +0000
committerMartin Kiewitz2010-05-24 13:50:19 +0000
commit350e3d7c053deb202ee8411f1ebda0a97a48e4e9 (patch)
tree8ae277e791881ace7c4f981baa636b1453b31457
parent6e66fa3726a4616b093c2ffd7227d161ab4d70a7 (diff)
downloadscummvm-rg350-350e3d7c053deb202ee8411f1ebda0a97a48e4e9.tar.gz
scummvm-rg350-350e3d7c053deb202ee8411f1ebda0a97a48e4e9.tar.bz2
scummvm-rg350-350e3d7c053deb202ee8411f1ebda0a97a48e4e9.zip
SCI: remove isQueued status when sound gets stopped - fixes iceman resuming music when entering hotel complex (with bar) right at the start
svn-id: r49186
-rw-r--r--engines/sci/sound/music.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index 27074e2db6..25d2de48bf 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -305,6 +305,7 @@ void SciMusic::soundPlay(MusicEntry *pSnd) {
void SciMusic::soundStop(MusicEntry *pSnd) {
pSnd->status = kSoundStopped;
+ pSnd->isQueued = false;
if (pSnd->pStreamAud)
_pMixer->stopHandle(pSnd->hCurrentAud);