aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-09-08 07:07:30 +0000
committerPaweł Kołodziejski2003-09-08 07:07:30 +0000
commita3aef4e0d6cf46bec99b8b4c7339945a9fc2fef3 (patch)
treeb36f8b7ee0d0dccc17b306b736cc39eb787be2a0
parent3ff18fe4ff0501ca56548cdd19795e5c252a4271 (diff)
downloadscummvm-rg350-a3aef4e0d6cf46bec99b8b4c7339945a9fc2fef3.tar.gz
scummvm-rg350-a3aef4e0d6cf46bec99b8b4c7339945a9fc2fef3.tar.bz2
scummvm-rg350-a3aef4e0d6cf46bec99b8b4c7339945a9fc2fef3.zip
fix warning
svn-id: r10081
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 8363c14444..6157a0ef52 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -710,7 +710,7 @@ bool Sound::isSoundInUse(int sound) const {
return false;
if (_scumm->_imuseDigital)
- return _scumm->_imuseDigital->getSoundStatus(sound);
+ return (_scumm->_imuseDigital->getSoundStatus(sound) != 0);
if (_scumm->_imuse)
return _scumm->_imuse->get_sound_active(sound);