SCI: Fixed bug #3430834 - "SCI: KQ6: Music stops after leaving shop"

A regression from commit 9654068
This commit is contained in:
Filippos Karapetis 2011-11-01 23:42:38 +02:00
parent 5c4d1992cb
commit d9f82c0290

View file

@ -446,9 +446,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;