aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorMax Horn2003-12-27 15:22:59 +0000
committerMax Horn2003-12-27 15:22:59 +0000
commit17c189d1f9c40e79ccddcea1a1d972b2642abe99 (patch)
tree95c851577a1acbffd338c447a85a47c7c76c48cb /scumm/string.cpp
parenta567b741e7f0711909bbcaf001b4adaa7ebc54b6 (diff)
downloadscummvm-rg350-17c189d1f9c40e79ccddcea1a1d972b2642abe99.tar.gz
scummvm-rg350-17c189d1f9c40e79ccddcea1a1d972b2642abe99.tar.bz2
scummvm-rg350-17c189d1f9c40e79ccddcea1a1d972b2642abe99.zip
get rid of _noSubtitles, use ConfigManager directly instead; clean up some IMuseDigital oddities
svn-id: r11966
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 24d709ec3f..d14a4474c9 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -21,6 +21,9 @@
*/
#include "stdafx.h"
+
+#include "common/config-manager.h"
+
#include "scumm/scumm.h"
#include "scumm/actor.h"
#include "scumm/charset.h"
@@ -316,9 +319,9 @@ void ScummEngine::CHARSET_1() {
if (_version <= 3) {
_charset->printChar(c);
} else {
- if ((_gameId == GID_LOOM256) && _noSubtitles && (_sound->pollCD())) {
+ if ((_gameId == GID_LOOM256) && !ConfMan.getBool("subtitles") && (_sound->pollCD())) {
// Special case for loomcd, since it only uses CD audio.for sound
- } else if (_noSubtitles && (_haveMsg == 0xFE || _sound->_talkChannelHandle.isActive())) {
+ } else if (!ConfMan.getBool("subtitles") && (_haveMsg == 0xFE || _sound->_talkChannelHandle.isActive())) {
// Subtitles are turned off, and there is a voice version
// of this message -> don't print it.
} else