diff options
author | Filippos Karapetis | 2013-04-01 21:28:56 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-04-01 21:31:50 +0300 |
commit | dc2d8793b968d462ff9f05f00977ef8ccad2d924 (patch) | |
tree | 4142d3d4ad8a5f82a28cd6cff77dab2fb5ae5a6b /engines/sci | |
parent | 2e93ee2b8301cf48e86c799c429f5e09fd09f051 (diff) | |
download | scummvm-rg350-dc2d8793b968d462ff9f05f00977ef8ccad2d924.tar.gz scummvm-rg350-dc2d8793b968d462ff9f05f00977ef8ccad2d924.tar.bz2 scummvm-rg350-dc2d8793b968d462ff9f05f00977ef8ccad2d924.zip |
SCI: Set the song's sound queue signal to -1 when stopping a sound, like SSCI does
Previously, we set the signal of the sound objects themselves to -1, but set the
sound queue's signal to 0. This now matches the original behavior.
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/sound/soundcmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index c0de7fe90d..9450e7796d 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -267,7 +267,7 @@ void SoundCommandParser::processStopSound(reg_t obj, bool sampleFinishedPlaying) writeSelectorValue(_segMan, obj, SELECTOR(signal), SIGNAL_OFFSET); musicSlot->dataInc = 0; - musicSlot->signal = 0; + musicSlot->signal = SIGNAL_OFFSET; _music->soundStop(musicSlot); } |