aboutsummaryrefslogtreecommitdiff
path: root/scumm/imuse_digi
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-07-19 15:21:29 +0000
committerTorbjörn Andersson2004-07-19 15:21:29 +0000
commitbc300cb0622af2308cd1fc76effaaa4d2c7e5e98 (patch)
tree1633085592f7ba5036686ca3c2b20bb665361b2f /scumm/imuse_digi
parent056751e1ee95c02e62627df7f528fddd6cce0956 (diff)
downloadscummvm-rg350-bc300cb0622af2308cd1fc76effaaa4d2c7e5e98.tar.gz
scummvm-rg350-bc300cb0622af2308cd1fc76effaaa4d2c7e5e98.tar.bz2
scummvm-rg350-bc300cb0622af2308cd1fc76effaaa4d2c7e5e98.zip
Applied patch #993803 (fix for a COMI hang) after some discussion with
aquadran. Let's hope the cure isn't worse than the disease... svn-id: r14277
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r--scumm/imuse_digi/dimuse_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse_digi/dimuse_script.cpp b/scumm/imuse_digi/dimuse_script.cpp
index 62a343e30d..9f7c57c928 100644
--- a/scumm/imuse_digi/dimuse_script.cpp
+++ b/scumm/imuse_digi/dimuse_script.cpp
@@ -277,7 +277,7 @@ int IMuseDigital::getSoundStatus(int sound) const {
Track *track = _track[l];
if (track->soundId == sound) {
if ((track->stream2 && track->handle.isActive()) ||
- (track->stream && track->used)) {
+ (track->stream && track->used && !track->readyToRemove)) {
return 1;
}
}