diff options
author | Johannes Schickel | 2006-04-18 02:08:51 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-04-18 02:08:51 +0000 |
commit | b756c3e899facb4762dfd03cbc7f0b913bfc44aa (patch) | |
tree | 690898661b209b7f07a609c421c0400b5530aa95 | |
parent | 5daa835cc724db34bcd47c9fddaf44317fa5b83e (diff) | |
download | scummvm-rg350-b756c3e899facb4762dfd03cbc7f0b913bfc44aa.tar.gz scummvm-rg350-b756c3e899facb4762dfd03cbc7f0b913bfc44aa.tar.bz2 scummvm-rg350-b756c3e899facb4762dfd03cbc7f0b913bfc44aa.zip |
Fixes use of textspeed settings if voice+text mode is enabled. (thanks to salty-horse)
svn-id: r21999
-rw-r--r-- | engines/kyra/text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |