diff options
author | Paweł Kołodziejski | 2004-04-24 15:58:51 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-04-24 15:58:51 +0000 |
commit | 443d7ec553a7f3e2e235a8cb771b66ce40a0fe81 (patch) | |
tree | 40c5c20e83e5ac3f849dce2287440eeec616afd3 /scumm | |
parent | e369538e344a366e7a0579253e0cc91b7bd37e57 (diff) | |
download | scummvm-rg350-443d7ec553a7f3e2e235a8cb771b66ce40a0fe81.tar.gz scummvm-rg350-443d7ec553a7f3e2e235a8cb771b66ce40a0fe81.tar.bz2 scummvm-rg350-443d7ec553a7f3e2e235a8cb771b66ce40a0fe81.zip |
fixed bug related to regions. sound of status for remove should not processed anymore
svn-id: r13613
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse_digi/dimuse.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index 58dddc8a07..6a05b4685f 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -327,8 +327,11 @@ void IMuseDigital::callback() { mixer_size *= 2; } - if (_track[l]->curRegion == -1) + if (_track[l]->curRegion == -1) { switchToNextRegion(l); + if (_track[l]->toBeRemoved) + break; + } int bits = _sound->getBits(_track[l]->soundHandle); do { |