Fixes use of textspeed settings if voice+text mode is enabled. (thanks to salty-horse)

svn-id: r21999
This commit is contained in:
Johannes Schickel
2006-04-18 02:08:51 +00:00
parent 5daa835cc7
commit b756c3e899
+1 -1
View File
@@ -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;