From bc300cb0622af2308cd1fc76effaaa4d2c7e5e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Mon, 19 Jul 2004 15:21:29 +0000 Subject: [PATCH] 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 --- scumm/imuse_digi/dimuse_script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/imuse_digi/dimuse_script.cpp b/scumm/imuse_digi/dimuse_script.cpp index 62a343e30d3..9f7c57c9288 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; } }