diff options
Diffstat (limited to 'engines/mortevielle/sound.cpp')
-rw-r--r-- | engines/mortevielle/sound.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mortevielle/sound.cpp b/engines/mortevielle/sound.cpp index a3ac56c27b..b3edead6f2 100644 --- a/engines/mortevielle/sound.cpp +++ b/engines/mortevielle/sound.cpp @@ -238,6 +238,11 @@ void SoundManager::litph(tablint &t, int typ, int tempo) { if (_vm->_speechManager._typlec == 0) return; + if (!_vm->_speechManager._buildingSentence) { + if (!_mixer->isSoundHandleActive(_soundHandle)) + _mixer->stopHandle(_speakerHandle); + _vm->_speechManager._buildingSentence = true; + } int freq = tempo * 10 * 25.2; int i = 0; while (i < _vm->_speechManager._ptr_oct) { |