diff options
author | Paweł Kołodziejski | 2008-01-19 19:32:40 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2008-01-19 19:32:40 +0000 |
commit | 703667b606259b1491ff42953a99ea0e579ed42e (patch) | |
tree | 682df9a9a1ccc94b29b32f4412bb36c9e08187e5 /engines/scumm/imuse_digi/dimuse_track.cpp | |
parent | 78166fb40b31e616983ddf196690b0497386136f (diff) | |
download | scummvm-rg350-703667b606259b1491ff42953a99ea0e579ed42e.tar.gz scummvm-rg350-703667b606259b1491ff42953a99ea0e579ed42e.tar.bz2 scummvm-rg350-703667b606259b1491ff42953a99ea0e579ed42e.zip |
allow force flush fade track, it happen while very fast switching rooms
svn-id: r30570
Diffstat (limited to 'engines/scumm/imuse_digi/dimuse_track.cpp')
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_track.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_track.cpp b/engines/scumm/imuse_digi/dimuse_track.cpp index 2bf7e67607..1729cadf87 100644 --- a/engines/scumm/imuse_digi/dimuse_track.cpp +++ b/engines/scumm/imuse_digi/dimuse_track.cpp @@ -332,7 +332,7 @@ Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDelay) { Track *fadeTrack; debug(5, "cloneToFadeOutTrack(%d, %d) - begin of func", track->trackId, fadeDelay); - + if (track->toBeRemoved) { error("cloneToFadeOutTrack: Tried to clone a track to be removed, please bug report"); return NULL; @@ -342,7 +342,7 @@ Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDelay) { fadeTrack = _track[track->trackId + MAX_DIGITAL_TRACKS]; if (fadeTrack->used) { - error("cloneToFadeOutTrack: No free fade track, force flush, please bug report"); + debug(5, "cloneToFadeOutTrack: No free fade track, force flush"); flushTrack(fadeTrack); _mixer->stopHandle(fadeTrack->mixChanHandle); } |