[Scummvm-cvs-logs] SF.net SVN: scummvm:[50526] scummvm/trunk/engines/m4/animation.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Wed Jun 30 12:42:34 CEST 2010


Revision: 50526
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50526&view=rev
Author:   dreammaster
Date:     2010-06-30 10:42:34 +0000 (Wed, 30 Jun 2010)

Log Message:
-----------
Corrected font display to properly use both colour indexes

Modified Paths:
--------------
    scummvm/trunk/engines/m4/animation.cpp

Modified: scummvm/trunk/engines/m4/animation.cpp
===================================================================
--- scummvm/trunk/engines/m4/animation.cpp	2010-06-30 10:31:23 UTC (rev 50525)
+++ scummvm/trunk/engines/m4/animation.cpp	2010-06-30 10:42:34 UTC (rev 50526)
@@ -444,7 +444,7 @@
 			_vm->_palette->setEntry(colIndex + 1, me.rgb2.r, me.rgb2.g, me.rgb2.b);
 
 			// Add a kernel message to display the given text
-			me.kernelMsgIndex = _view->_kernelMessages.add(me.pos, colIndex * 0x101, 0, 0, INDEFINITE_TIMEOUT, me.msg);
+			me.kernelMsgIndex = _view->_kernelMessages.add(me.pos, colIndex * 0x101 + 0x100, 0, 0, INDEFINITE_TIMEOUT, me.msg);
 			assert(me.kernelMsgIndex >= 0);
 
 			// Play the associated sound, if it exists


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