diff options
author | Paweł Kołodziejski | 2004-09-04 12:35:19 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-09-04 12:35:19 +0000 |
commit | 23e294e10c237fc5ddb53205d2d7d187e4537e0d (patch) | |
tree | 6fe328e91b26ee1f8d06b43f7d93920acd5b73cb /scumm | |
parent | 91a57ad8f5baa98ab72c2a5692d433b1cf6aadc3 (diff) | |
download | scummvm-rg350-23e294e10c237fc5ddb53205d2d7d187e4537e0d.tar.gz scummvm-rg350-23e294e10c237fc5ddb53205d2d7d187e4537e0d.tar.bz2 scummvm-rg350-23e294e10c237fc5ddb53205d2d7d187e4537e0d.zip |
added comment for insane hack
svn-id: r14891
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse_digi/dimuse_script.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/imuse_digi/dimuse_script.cpp b/scumm/imuse_digi/dimuse_script.cpp index e77a1d00a8..79446ea898 100644 --- a/scumm/imuse_digi/dimuse_script.cpp +++ b/scumm/imuse_digi/dimuse_script.cpp @@ -163,13 +163,14 @@ void IMuseDigital::flushTracks() { debug(5, "flushTracks()"); for (int l = 0; l < MAX_DIGITAL_TRACKS + MAX_DIGITAL_FADETRACKS; l++) { Track *track = _track[l]; - if (track->used && (track->readyToRemove || + if (track->used && (track->readyToRemove || (_vm->_insaneRunning && track->toBeRemoved))) { // INSANE hack for sync timer mode if (track->stream) { if (!track->stream->endOfStream()) { track->stream->finish(); } - if (track->stream->endOfStream() || _vm->_insaneRunning) { + if (track->stream->endOfStream() + || _vm->_insaneRunning) { // INSANE hack for sync timer mode _vm->_mixer->stopHandle(track->handle); delete track->stream; track->stream = NULL; |