SCI: Fixed bug #3430834 - "SCI: KQ6: Music stops after leaving shop"
A regression from commit 9654068
This commit is contained in:
parent
5c4d1992cb
commit
d9f82c0290
1 changed files with 2 additions and 2 deletions
|
@ -446,9 +446,9 @@ void SciMusic::soundPlay(MusicEntry *pSnd) {
|
||||||
// volume of the sound channels that the faded song occupies..
|
// volume of the sound channels that the faded song occupies..
|
||||||
// Fixes bug #3266480 and partially fixes bug #3041738.
|
// Fixes bug #3266480 and partially fixes bug #3041738.
|
||||||
for (uint i = 0; i < playListCount; i++) {
|
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
|
// immediately instead
|
||||||
if (_playList[i]->fadeStep && _playList[i]->pMidiParser) {
|
if (_playList[i]->fadeStep < 0 && _playList[i]->pMidiParser) {
|
||||||
_playList[i]->status = kSoundStopped;
|
_playList[i]->status = kSoundStopped;
|
||||||
if (_soundVersion <= SCI_VERSION_0_LATE)
|
if (_soundVersion <= SCI_VERSION_0_LATE)
|
||||||
_playList[i]->isQueued = false;
|
_playList[i]->isQueued = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue