aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/soundcmd.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2010-01-02 18:16:12 +0000
committerWillem Jan Palenstijn2010-01-02 18:16:12 +0000
commit5c56d726b28287cdc7b8054238007efd3f97860d (patch)
treebadc26fcb2b48ed8d47b575816b5c5fa937fb30b /engines/sci/sfx/soundcmd.cpp
parentc920abf50a5e6ca94045e08a7e6a1e7fa31ab6f7 (diff)
downloadscummvm-rg350-5c56d726b28287cdc7b8054238007efd3f97860d.tar.gz
scummvm-rg350-5c56d726b28287cdc7b8054238007efd3f97860d.tar.bz2
scummvm-rg350-5c56d726b28287cdc7b8054238007efd3f97860d.zip
SCI/new music code: Improve midi hold handling a bit. Still broken.
svn-id: r46893
Diffstat (limited to 'engines/sci/sfx/soundcmd.cpp')
-rw-r--r--engines/sci/sfx/soundcmd.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp
index e8e599bc5c..0c7cccbfb4 100644
--- a/engines/sci/sfx/soundcmd.cpp
+++ b/engines/sci/sfx/soundcmd.cpp
@@ -859,13 +859,7 @@ void SoundCommandParser::cmdSetSoundHold(reg_t obj, int16 value) {
}
// Set the special hold marker ID where the song should be looped at.
- // If the hold marker is 0, stop the song, as songs with a hold marker
- // embedded don't have an end of track signal at the end, so that they
- // loop instead of stopping
musicSlot->hold = value;
-
- if (!value)
- cmdStopSound(obj, 0);
#endif
}