diff options
author | Jaromir Wysoglad | 2019-07-24 20:52:09 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | 99550a95b20d74afd845f95713ce132c2dcbfa93 (patch) | |
tree | fb80b88334b66416dbf59ef32ef6549922e2be08 /engines | |
parent | c7dbf192ef2122cfaa82ffb3ae3bc05ae10e1e12 (diff) | |
download | scummvm-rg350-99550a95b20d74afd845f95713ce132c2dcbfa93.tar.gz scummvm-rg350-99550a95b20d74afd845f95713ce132c2dcbfa93.tar.bz2 scummvm-rg350-99550a95b20d74afd845f95713ce132c2dcbfa93.zip |
MORTEVILLE: Stop speech when pressing F8.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mortevielle/dialogs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mortevielle/dialogs.cpp b/engines/mortevielle/dialogs.cpp index ff1e026e9b..7069765dcd 100644 --- a/engines/mortevielle/dialogs.cpp +++ b/engines/mortevielle/dialogs.cpp @@ -421,6 +421,10 @@ void DialogManager::checkForF8(int SpeechNum, bool drawFrame2Fl) { if (_vm->shouldQuit()) return; } while (_vm->_key != 66); // keycode for F8 + // just stop the speech when pressing F8 +#ifdef USE_TTS + _vm->_soundManager->_ttsMan->stop(); +#endif } /** |