aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-05-19 14:54:39 +0000
committerMartin Kiewitz2010-05-19 14:54:39 +0000
commit3f10841ae8f167cd6bc08ef266d0161c2d608624 (patch)
tree20cac1bd65d01794b11b9f3f93ae56970eb63d0d /engines
parent893af1600aa8f4619e6c56ca2a8f074e230c1084 (diff)
downloadscummvm-rg350-3f10841ae8f167cd6bc08ef266d0161c2d608624.tar.gz
scummvm-rg350-3f10841ae8f167cd6bc08ef266d0161c2d608624.tar.bz2
scummvm-rg350-3f10841ae8f167cd6bc08ef266d0161c2d608624.zip
SCI: removed cmdStopAllSounds(), can't be right - added FIXME - fixes iceman room 14 music stopping within 1-2 seconds
svn-id: r49101
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 b6792b710f..a354ecdd79 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -927,6 +927,11 @@ void SoundCommandParser::cmdStopAllSounds(reg_t obj, int16 value) {
#ifndef USE_OLD_MUSIC_FUNCTIONS
Common::StackLock(_music->_mutex);
+ // FIXME: this can't be right, it's called in iceman (room 14) when the door sound has done playing
+ // stopping sounds can't be right, because music is starting afterwards in ssci. Maybe it actually means
+ // "resume play of queued sound" or something like that
+ return;
+
const MusicList::iterator end = _music->getPlayListEnd();
for (MusicList::iterator i = _music->getPlayListStart(); i != end; ++i) {
if (_soundVersion <= SCI_VERSION_0_LATE) {