diff options
author | Johannes Schickel | 2011-02-16 02:00:00 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-02-16 02:00:00 +0100 |
commit | c44538a01e33e71e9f85554d343d67a7c8dfe3ed (patch) | |
tree | 5635249cf4795c70e1b33ef41624763a98852763 | |
parent | 123f81f837f62169971da10c89d0caf3866400d9 (diff) | |
download | scummvm-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.
-rw-r--r-- | engines/parallaction/graphics.cpp | 2 |
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); |