aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2011-11-01 23:42:38 +0200
committerFilippos Karapetis2011-11-01 23:42:38 +0200
commite674298a60e92597b52b0e66275387f78ddc4077 (patch)
tree3d2ffe4c0636f3e9c83d1ee768bc129f9fa9f773 /engines/sci
parentd6658db7c071f2a346bec0fc0f90ef7f683d2ed5 (diff)
downloadscummvm-rg350-e674298a60e92597b52b0e66275387f78ddc4077.tar.gz
scummvm-rg350-e674298a60e92597b52b0e66275387f78ddc4077.tar.bz2
scummvm-rg350-e674298a60e92597b52b0e66275387f78ddc4077.zip
SCI: Fixed bug #3430834 - "SCI: KQ6: Music stops after leaving shop"
A regression from commit 9654068
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sound/music.cpp4
1 files changed, 2 insertions, 2 deletions
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;