From b756c3e899facb4762dfd03cbc7f0b913bfc44aa Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 18 Apr 2006 02:08:51 +0000 Subject: Fixes use of textspeed settings if voice+text mode is enabled. (thanks to salty-horse) svn-id: r21999 --- engines/kyra/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/kyra/text.cpp b/engines/kyra/text.cpp index c8c4657a36..c031ebe21d 100644 --- a/engines/kyra/text.cpp +++ b/engines/kyra/text.cpp @@ -45,7 +45,7 @@ void KyraEngine::waitForChatToFinish(int16 chatDuration, const char *chatStr, ui uint32 timeToEnd = strlen(chatStr) * 8 * _tickLength + _system->getMillis(); - if (chatDuration != -1 ) { + if (_configVoice == 0 && chatDuration != -1) { switch (_configTextspeed) { case 0: chatDuration *= 2; break; -- cgit v1.2.3