aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mortevielle/speech.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/speech.cpp b/engines/mortevielle/speech.cpp
index 0966930718..4940c93754 100644
--- a/engines/mortevielle/speech.cpp
+++ b/engines/mortevielle/speech.cpp
@@ -555,10 +555,10 @@ void SpeechManager::startSpeech(int rep, int ht, int typ) {
if (typ != 0) {
Audio::SoundHandle soundHandle;
+ _vm->_soundManager._audioStream->finish();
_vm->_soundManager._mixer->playStream(Audio::Mixer::kSFXSoundType, &soundHandle, _vm->_soundManager._audioStream);
while (_vm->_soundManager._mixer->isSoundHandleActive(soundHandle) && !_vm->keyPressed() && !_vm->_mouseClick && !_vm->shouldQuit())
;
- _vm->_soundManager._audioStream->finish();
_vm->_soundManager._mixer->stopHandle(soundHandle);
_vm->_soundManager._audioStream = nullptr;
}