diff options
author | Colin Snover | 2017-01-12 17:39:29 -0600 |
---|---|---|
committer | Colin Snover | 2017-01-16 12:16:12 -0600 |
commit | 0e77471467c35f1c1522e16d169a4f927aaa307b (patch) | |
tree | 17bb2c309f8356ab071481e95220dcded3636514 /engines | |
parent | 0744dc4109acd6ca433d3da492b9a1f02bd38a81 (diff) | |
download | scummvm-rg350-0e77471467c35f1c1522e16d169a4f927aaa307b.tar.gz scummvm-rg350-0e77471467c35f1c1522e16d169a4f927aaa307b.tar.bz2 scummvm-rg350-0e77471467c35f1c1522e16d169a4f927aaa307b.zip |
SCI: Remove unused SciEngine::speechAndSubtitlesEnabled method
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sci.cpp | 10 | ||||
-rw-r--r-- | engines/sci/sci.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index d725e36a5a..20547f3601 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -1068,16 +1068,6 @@ void SciEngine::syncSoundSettings() { } } -// used by Script Patcher. Used to find out, if Laura Bow 2/King's Quest 6 need patching for Speech+Subtitles - or not -bool SciEngine::speechAndSubtitlesEnabled() { - bool subtitlesOn = ConfMan.getBool("subtitles"); - bool speechOn = !ConfMan.getBool("speech_mute"); - - if (isCD() && subtitlesOn && speechOn) - return true; - return false; -} - void SciEngine::syncIngameAudioOptions() { bool useGlobal90 = false; diff --git a/engines/sci/sci.h b/engines/sci/sci.h index b3ec3259a6..f5ccc19d7c 100644 --- a/engines/sci/sci.h +++ b/engines/sci/sci.h @@ -282,7 +282,6 @@ public: * script patches are needed: * - King's Quest 6 CD */ - bool speechAndSubtitlesEnabled(); void syncIngameAudioOptions(); void updateScummVMAudioOptions(); |