From dd0ebb71161de842fd376485a0abb0dc51865e65 Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Fri, 4 Sep 2009 14:57:27 +0000 Subject: SCI: Reset signal before playing song. svn-id: r43940 --- engines/sci/engine/ksound.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/sci') diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp index 219b844407..50aa7c8d7d 100644 --- a/engines/sci/engine/ksound.cpp +++ b/engines/sci/engine/ksound.cpp @@ -501,6 +501,7 @@ static reg_t kDoSoundSci1Early(EngineState *s, int argc, reg_t *argv) { s->_sound.sfx_song_set_loops(handle, looping); s->_sound.sfx_song_renice(handle, pri); s->_sound._songlib.setSongRestoreBehavior(handle, rb); + PUT_SEL32V(obj, signal, 0); } break; @@ -849,6 +850,7 @@ static reg_t kDoSoundSci1Late(EngineState *s, int argc, reg_t *argv) { s->_sound.sfx_song_set_status(handle, SOUND_STATUS_PLAYING); s->_sound.sfx_song_set_loops(handle, looping); s->_sound.sfx_song_renice(handle, pri); + PUT_SEL32V(obj, signal, 0); } break; -- cgit v1.2.3