aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorMax Horn2005-03-12 18:56:09 +0000
committerMax Horn2005-03-12 18:56:09 +0000
commit7cd2cb2b1700b85d48aed8898b08b49b9b46ebf8 (patch)
tree7849605aa45912d9cbe65dbb68b2b450bd32b023 /scumm/string.cpp
parent8de216f3aec1dcee16fc0ab9974da4087bac5252 (diff)
downloadscummvm-rg350-7cd2cb2b1700b85d48aed8898b08b49b9b46ebf8.tar.gz
scummvm-rg350-7cd2cb2b1700b85d48aed8898b08b49b9b46ebf8.tar.bz2
scummvm-rg350-7cd2cb2b1700b85d48aed8898b08b49b9b46ebf8.zip
PlayingSoundHandle -> SoundHandle; also, turned the handle activity check into a mixer method
svn-id: r17106
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index c1748e3669..992179791e 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -370,7 +370,7 @@ loc_avoid_ks_fe:
// Special case for games using imuse digital.for sound
} else if ((_gameId == GID_LOOM256) && !ConfMan.getBool("subtitles") && (_sound->pollCD())) {
// Special case for loomcd, since it only uses CD audio.for sound
- } else if (!ConfMan.getBool("subtitles") && (_haveMsg == 0xFE || _sound->_talkChannelHandle.isActive())) {
+ } else if (!ConfMan.getBool("subtitles") && (_haveMsg == 0xFE || _mixer->isSoundHandleActive(_sound->_talkChannelHandle))) {
// Subtitles are turned off, and there is a voice version
// of this message -> don't print it.
} else