aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_v1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/script_v1.cpp')
-rw-r--r--engines/kyra/script_v1.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/script_v1.cpp b/engines/kyra/script_v1.cpp
index eabfb755ac..768848c616 100644
--- a/engines/kyra/script_v1.cpp
+++ b/engines/kyra/script_v1.cpp
@@ -646,6 +646,7 @@ int KyraEngine_v1::o1_customPrintTalkString(ScriptState *script) {
snd_voiceWaitForFinish();
snd_playVoiceFile(stackPos(0));
}
+
_skipFlag = false;
if (textEnabled())
_text->printTalkTextMessage(stackPosString(1), stackPos(2), stackPos(3), stackPos(4) & 0xFF, 0, 2);
@@ -660,8 +661,6 @@ int KyraEngine_v1::o1_customPrintTalkString(ScriptState *script) {
int KyraEngine_v1::o1_restoreCustomPrintBackground(ScriptState *script) {
debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v1::o1_restoreCustomPrintBackground(%p) ()", (const void *)script);
- snd_voiceWaitForFinish();
- snd_stopVoice();
_text->restoreTalkTextMessageBkgd(2, 0);
return 0;
}