diff options
author | Martin Kiewitz | 2010-01-08 20:25:42 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-08 20:25:42 +0000 |
commit | 8ba776913dc34f6b213c9b013c67ff9f64e09ea4 (patch) | |
tree | fd1d92248aabde38c2ac4047fd8b971644581cd1 /engines | |
parent | 0849da9564909ab4c283bbfd8dc34cfba3996c0d (diff) | |
download | scummvm-rg350-8ba776913dc34f6b213c9b013c67ff9f64e09ea4.tar.gz scummvm-rg350-8ba776913dc34f6b213c9b013c67ff9f64e09ea4.tar.bz2 scummvm-rg350-8ba776913dc34f6b213c9b013c67ff9f64e09ea4.zip |
SCI: fixing sq3 again (state selector wasnt updated anymore)
svn-id: r47174
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sound/soundcmd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index 1fedfdc597..8a09b078cf 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -834,6 +834,9 @@ void SoundCommandParser::cmdUpdateCues(reg_t obj, int16 value) { } else { // Sync the signal of the sound object PUT_SEL32V(_segMan, obj, signal, musicSlot->signal); + // We need to do this especially because state selector needs to get updated + if (musicSlot->signal == SIGNAL_OFFSET) + cmdStopSound(obj, 0); } } |