aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2004-04-24 16:17:10 +0000
committerPaweł Kołodziejski2004-04-24 16:17:10 +0000
commit24e49664e4e2550a2e9262de9a942dd523e36c6f (patch)
tree39e1d9ab8498dd09e7b27986525449f286154848
parent415a0f6880658dbf8f41a31253bda1d0504e4712 (diff)
downloadscummvm-rg350-24e49664e4e2550a2e9262de9a942dd523e36c6f.tar.gz
scummvm-rg350-24e49664e4e2550a2e9262de9a942dd523e36c6f.tar.bz2
scummvm-rg350-24e49664e4e2550a2e9262de9a942dd523e36c6f.zip
in pull method code also
svn-id: r13615
-rw-r--r--scumm/imuse_digi/dimuse.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp
index 6b09a9ff79..69c11a637b 100644
--- a/scumm/imuse_digi/dimuse.cpp
+++ b/scumm/imuse_digi/dimuse.cpp
@@ -95,8 +95,11 @@ int IMuseDigital::pullProc(CustomProcInputStream *stream, byte *mixerBuffer, int
byte *data = NULL;
int32 result = 0, pos = 0;
- if (_track[l]->curRegion == -1)
+ if (_track[l]->curRegion == -1) {
switchToNextRegion(l);
+ if (_track[l]->toBeRemoved)
+ continue;
+ }
int bits = _sound->getBits(_track[l]->soundHandle);
do {