[Scummvm-cvs-logs] SF.net SVN: scummvm: [21999] scummvm/trunk/engines/kyra/text.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Apr 17 19:09:04 CEST 2006


Revision: 21999
Author:   lordhoto
Date:     2006-04-17 19:08:51 -0700 (Mon, 17 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21999&view=rev

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

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/text.cpp
Modified: scummvm/trunk/engines/kyra/text.cpp
===================================================================
--- scummvm/trunk/engines/kyra/text.cpp	2006-04-18 00:37:04 UTC (rev 21998)
+++ scummvm/trunk/engines/kyra/text.cpp	2006-04-18 02:08:51 UTC (rev 21999)
@@ -45,7 +45,7 @@
 
 	uint32 timeToEnd = strlen(chatStr) * 8 * _tickLength + _system->getMillis();
 
-	if (chatDuration != -1 ) {
+	if (_configVoice == 0 && chatDuration != -1) {
 		switch (_configTextspeed) {
 			case 0: chatDuration *= 2;
 					break;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list