aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-19 22:11:06 +0000
committerMartin Kiewitz2010-07-19 22:11:06 +0000
commit961079ae195c200020b577d8f7f6a87f2eaac03f (patch)
tree7767153bf902b6a778b605d8924f70282c1384e8 /engines
parentcef2e24edc8ec6b8c6d2674eedf3222ab1745d85 (diff)
downloadscummvm-rg350-961079ae195c200020b577d8f7f6a87f2eaac03f.tar.gz
scummvm-rg350-961079ae195c200020b577d8f7f6a87f2eaac03f.tar.bz2
scummvm-rg350-961079ae195c200020b577d8f7f6a87f2eaac03f.zip
SCI: disabling kDoSound(StopAll)
this call can't be right, gets called in kq1 several times and would stop background effects svn-id: r51039
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sound/soundcmd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index 9312df5c80..8e750def4a 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -497,6 +497,11 @@ reg_t SoundCommandParser::kDoSoundGetAudioCapability(int argc, reg_t *argv, reg_
}
reg_t SoundCommandParser::kDoSoundStopAll(int argc, reg_t *argv, reg_t acc) {
+ // TODO: this can't be right, this gets called in kq1 - e.g. being in witch house, getting the note
+ // now the point jingle plays and after a messagebox they call this - and would stop the background effects with it
+ // this doesn't make sense, so i disable it for now
+ return acc;
+
Common::StackLock(_music->_mutex);
const MusicList::iterator end = _music->getPlayListEnd();