aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-16 02:00:00 +0100
committerJohannes Schickel2011-02-16 02:00:00 +0100
commitc44538a01e33e71e9f85554d343d67a7c8dfe3ed (patch)
tree5635249cf4795c70e1b33ef41624763a98852763 /engines
parent123f81f837f62169971da10c89d0caf3866400d9 (diff)
downloadscummvm-rg350-c44538a01e33e71e9f85554d343d67a7c8dfe3ed.tar.gz
scummvm-rg350-c44538a01e33e71e9f85554d343d67a7c8dfe3ed.tar.bz2
scummvm-rg350-c44538a01e33e71e9f85554d343d67a7c8dfe3ed.zip
PARALLACTION: Fix half bright palette.
Thanks to peres for pointing this out to me.
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
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);