diff options
author | Jaromir Wysoglad | 2019-07-31 15:44:12 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | a81b59a3c4df50e246e75b0fbe7f822f71174fd7 (patch) | |
tree | 2d4053ab81012320021f6ef7dde72a9ca88b63d5 /gui | |
parent | 6703f88f7f91bc22ce5ea3593a1699f1dc4fa7c0 (diff) | |
download | scummvm-rg350-a81b59a3c4df50e246e75b0fbe7f822f71174fd7.tar.gz scummvm-rg350-a81b59a3c4df50e246e75b0fbe7f822f71174fd7.tar.bz2 scummvm-rg350-a81b59a3c4df50e246e75b0fbe7f822f71174fd7.zip |
TTS: Don't read tooltips when TTS is speaking
Diffstat (limited to 'gui')
-rw-r--r-- | gui/Tooltip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/Tooltip.cpp b/gui/Tooltip.cpp index 9d34fd4593..1f57ba9850 100644 --- a/gui/Tooltip.cpp +++ b/gui/Tooltip.cpp @@ -60,7 +60,7 @@ void Tooltip::setup(Dialog *parent, Widget *widget, int x, int y) { Common::TextToSpeechManager *ttsMan = g_system->getTextToSpeechManager(); if (ttsMan == nullptr) return; - ttsMan->say(widget->getTooltip()); + ttsMan->say(widget->getTooltip(), Common::TextToSpeechManager::DROP); } #endif } |