aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra_hof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/kyra_hof.cpp')
-rw-r--r--engines/kyra/kyra_hof.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp
index 40d4fb62f9..6057d3182a 100644
--- a/engines/kyra/kyra_hof.cpp
+++ b/engines/kyra/kyra_hof.cpp
@@ -1486,12 +1486,10 @@ void KyraEngine_HoF::snd_playVoiceFile(int id) {
if (_sound->voiceFileIsPresent(vocFile)) {
snd_stopVoice();
- while (!_sound->voicePlay(vocFile)) {
+ while (!_sound->voicePlay(vocFile, 255, false, &_speechHandle)) {
updateWithText();
_system->delayMillis(10);
}
-
- _speechFile = vocFile;
}
}