diff options
author | Travis Howell | 2009-07-17 00:10:10 +0000 |
---|---|---|
committer | Travis Howell | 2009-07-17 00:10:10 +0000 |
commit | c0965b2a2aceab1468bccf5368b3c46f7a97efa1 (patch) | |
tree | 29346e039ee244f9ee409d2295984bdbf07ba71c | |
parent | 572b0e6c03ba17f91cb2e0d257939ecf7cbc0eaf (diff) | |
download | scummvm-rg350-c0965b2a2aceab1468bccf5368b3c46f7a97efa1.tar.gz scummvm-rg350-c0965b2a2aceab1468bccf5368b3c46f7a97efa1.tar.bz2 scummvm-rg350-c0965b2a2aceab1468bccf5368b3c46f7a97efa1.zip |
Fix using subtitles only setting in The Dig.
svn-id: r42545
-rw-r--r-- | engines/scumm/string.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index d40bbb9aaa..f00f4ff33b 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -1415,6 +1415,9 @@ void ScummEngine_v7::loadLanguageBundle() { } void ScummEngine_v7::playSpeech(const byte *ptr) { + if (_game.id == GID_DIG && (ConfMan.getBool("speech_mute") || VAR(VAR_VOICE_MODE) == 2)) + return; + if ((_game.id == GID_DIG || _game.id == GID_CMI) && ptr[0]) { char pointer[20]; strcpy(pointer, (const char *)ptr); |