From 24e49664e4e2550a2e9262de9a942dd523e36c6f Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 24 Apr 2004 16:17:10 +0000 Subject: in pull method code also svn-id: r13615 --- scumm/imuse_digi/dimuse.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3