aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-21 17:09:45 +0000
committerJohannes Schickel2008-03-21 17:09:45 +0000
commit2a4aa9c379ba218a768e7ad052ec8b1b365b0ad1 (patch)
tree89df52117636686be36f0751e6763aedde9b2435 /engines/kyra
parentdea50612cb25d9017ed00ea99a71ad4badb4cc13 (diff)
downloadscummvm-rg350-2a4aa9c379ba218a768e7ad052ec8b1b365b0ad1.tar.gz
scummvm-rg350-2a4aa9c379ba218a768e7ad052ec8b1b365b0ad1.tar.bz2
scummvm-rg350-2a4aa9c379ba218a768e7ad052ec8b1b365b0ad1.zip
Removed some unneeded waiting for voice to finish.
svn-id: r31212
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/text_v1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/text_v1.cpp b/engines/kyra/text_v1.cpp
index 0c71b143cc..b493a56d4a 100644
--- a/engines/kyra/text_v1.cpp
+++ b/engines/kyra/text_v1.cpp
@@ -144,8 +144,8 @@ void KyraEngine_v1::waitForChatToFinish(int vocFile, int16 chatDuration, const c
runLoop = false;
}
- snd_voiceWaitForFinish();
- snd_stopVoice();
+ if (_skipFlag)
+ snd_stopVoice();
_timer->enable(14);
_timer->enable(15);