aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/animation.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-30 10:42:34 +0000
committerPaul Gilbert2010-06-30 10:42:34 +0000
commitdcba035912fb876f1db8da998405a659b9c87d04 (patch)
tree03142a779936780fb2562c7352006c921068bd98 /engines/m4/animation.cpp
parentc6695b1d6aa778575f4cefc1942253cbb8a65fbf (diff)
downloadscummvm-rg350-dcba035912fb876f1db8da998405a659b9c87d04.tar.gz
scummvm-rg350-dcba035912fb876f1db8da998405a659b9c87d04.tar.bz2
scummvm-rg350-dcba035912fb876f1db8da998405a659b9c87d04.zip
Corrected font display to properly use both colour indexes
svn-id: r50526
Diffstat (limited to 'engines/m4/animation.cpp')
-rw-r--r--engines/m4/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/animation.cpp b/engines/m4/animation.cpp
index 51d3970e12..f9dd8287ae 100644
--- a/engines/m4/animation.cpp
+++ b/engines/m4/animation.cpp
@@ -444,7 +444,7 @@ void MadsAnimation::update() {
_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