aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-31 15:44:12 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commita81b59a3c4df50e246e75b0fbe7f822f71174fd7 (patch)
tree2d4053ab81012320021f6ef7dde72a9ca88b63d5 /gui
parent6703f88f7f91bc22ce5ea3593a1699f1dc4fa7c0 (diff)
downloadscummvm-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.cpp2
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
}