From 17c189d1f9c40e79ccddcea1a1d972b2642abe99 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 27 Dec 2003 15:22:59 +0000 Subject: get rid of _noSubtitles, use ConfigManager directly instead; clean up some IMuseDigital oddities svn-id: r11966 --- scumm/string.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scumm/string.cpp') 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 -- cgit v1.2.3