From c67344d380fd964334df6d00d9ddb99ab2394fbd Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 3 May 2010 16:47:09 +0000 Subject: SCI: reverting r48805 - caused regression in sq3new/kq1 svn-id: r48915 --- engines/sci/sound/soundcmd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index 91664f65b9..20bce575f5 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -517,9 +517,8 @@ void SoundCommandParser::cmdStopSound(reg_t obj, int16 value) { PUT_SEL32V(_segMan, obj, SELECTOR(state), kSoundStopped); } else { PUT_SEL32V(_segMan, obj, SELECTOR(handle), 0); + PUT_SEL32V(_segMan, obj, SELECTOR(signal), SIGNAL_OFFSET); } - // we need to set signal selector as well for SCI0 at least for sq3old, otherwise freeing the 2 guys wont work (endless loop) - PUT_SEL32V(_segMan, obj, SELECTOR(signal), SIGNAL_OFFSET); musicSlot->dataInc = 0; musicSlot->signal = 0; -- cgit v1.2.3