aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/string.cpp
diff options
context:
space:
mode:
authorOri Avtalion2016-05-21 13:55:38 +0300
committerOri Avtalion2016-05-21 13:55:38 +0300
commit3ad6af92f20b98b3c7a5045fe8e55045cff9caf1 (patch)
tree5c9d1d47dbeff6a9ec20d84c925da19b199c917c /engines/scumm/string.cpp
parent10cbeb1ac6be299c06297c0f2c69e7cc8a5cb7cc (diff)
downloadscummvm-rg350-3ad6af92f20b98b3c7a5045fe8e55045cff9caf1.tar.gz
scummvm-rg350-3ad6af92f20b98b3c7a5045fe8e55045cff9caf1.tar.bz2
scummvm-rg350-3ad6af92f20b98b3c7a5045fe8e55045cff9caf1.zip
SCUMM: Reduce audio header dependencies
Diffstat (limited to 'engines/scumm/string.cpp')
-rw-r--r--engines/scumm/string.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index 3049fbcf62..e6054918fa 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -23,6 +23,7 @@
#include "common/config-manager.h"
+#include "audio/mixer.h"
#include "scumm/actor.h"
#include "scumm/charset.h"
@@ -662,7 +663,7 @@ void ScummEngine::CHARSET_1() {
// Special case for HE games
} else if (_game.id == GID_LOOM && !ConfMan.getBool("subtitles") && (_sound->pollCD())) {
// Special case for Loom (CD), since it only uses CD audio.for sound
- } else if (!ConfMan.getBool("subtitles") && (!_haveActorSpeechMsg || _mixer->isSoundHandleActive(_sound->_talkChannelHandle))) {
+ } else if (!ConfMan.getBool("subtitles") && (!_haveActorSpeechMsg || _mixer->isSoundHandleActive(*_sound->_talkChannelHandle))) {
// Subtitles are turned off, and there is a voice version
// of this message -> don't print it.
} else {