aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 63deb1b520..82cb649bfa 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -1006,7 +1006,7 @@ bool ScummEngine::isResourceInUse(int type, int i) const {
case rtCharset:
return _charset->getCurID() == i;
case rtSpoolBuffer:
- return _sound->isSoundRunning(10000 + i);
+ return _sound->isSoundRunning(10000 + i) != 0;
default:
return false;
}