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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Apr 18 17:05:47 CEST 2008


Revision: 31558
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31558&view=rev
Author:   lordhoto
Date:     2008-04-18 08:05:46 -0700 (Fri, 18 Apr 2008)

Log Message:
-----------
Fixed displaying text speed settings in CD version.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_v1.cpp

Modified: scummvm/trunk/engines/kyra/gui_v1.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_v1.cpp	2008-04-18 01:59:54 UTC (rev 31557)
+++ scummvm/trunk/engines/kyra/gui_v1.cpp	2008-04-18 15:05:46 UTC (rev 31558)
@@ -992,10 +992,13 @@
 		textControl = 4;
 		clickableOffset = 11;
 
-		if (_vm->_configVoice == 0)
-			_menu[5].item[4].enabled = 1;
-		else
-			_menu[5].item[4].enabled = 0;
+		if (_vm->_configVoice == 0) {
+			menu.item[4].enabled = 1;
+			menu.item[4].labelString = _textSpeedString;
+		} else {
+			menu.item[4].enabled = 0;
+			menu.item[4].labelString = 0;
+		}
 
 		switch (_vm->_configVoice) {
 		case 0:


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