From e674298a60e92597b52b0e66275387f78ddc4077 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 1 Nov 2011 23:42:38 +0200 Subject: SCI: Fixed bug #3430834 - "SCI: KQ6: Music stops after leaving shop" A regression from commit 9654068 --- engines/sci/sound/music.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp index c7302da052..5b324a8517 100644 --- a/engines/sci/sound/music.cpp +++ b/engines/sci/sound/music.cpp @@ -472,9 +472,9 @@ void SciMusic::soundPlay(MusicEntry *pSnd) { // volume of the sound channels that the faded song occupies.. // Fixes bug #3266480 and partially fixes bug #3041738. for (uint i = 0; i < playListCount; i++) { - // Is another MIDI song being faded? If yes, stop it + // Is another MIDI song being faded down? If yes, stop it // immediately instead - if (_playList[i]->fadeStep && _playList[i]->pMidiParser) { + if (_playList[i]->fadeStep < 0 && _playList[i]->pMidiParser) { _playList[i]->status = kSoundStopped; if (_soundVersion <= SCI_VERSION_0_LATE) _playList[i]->isQueued = false; -- cgit v1.2.3