From c44538a01e33e71e9f85554d343d67a7c8dfe3ed Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 16 Feb 2011 02:00:00 +0100 Subject: PARALLACTION: Fix half bright palette. Thanks to peres for pointing this out to me. --- engines/parallaction/graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/parallaction') diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 020dcc9415..7ac3e6b81f 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -163,7 +163,7 @@ void Palette::fadeTo(const Palette& target, uint step) { uint Palette::fillRGB(byte *rgb) { byte r, g, b; - byte *hbPal = rgb + _colors * 4; + byte *hbPal = rgb + _colors * 3; for (uint32 i = 0; i < _colors; i++) { r = (_data[i*3] << 2) | (_data[i*3] >> 4); -- cgit v1.2.3