aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-24 20:52:09 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit99550a95b20d74afd845f95713ce132c2dcbfa93 (patch)
treefb80b88334b66416dbf59ef32ef6549922e2be08
parentc7dbf192ef2122cfaa82ffb3ae3bc05ae10e1e12 (diff)
downloadscummvm-rg350-99550a95b20d74afd845f95713ce132c2dcbfa93.tar.gz
scummvm-rg350-99550a95b20d74afd845f95713ce132c2dcbfa93.tar.bz2
scummvm-rg350-99550a95b20d74afd845f95713ce132c2dcbfa93.zip
MORTEVILLE: Stop speech when pressing F8.
-rw-r--r--engines/mortevielle/dialogs.cpp4
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
}
/**