diff options
Diffstat (limited to 'engines/parallaction')
-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); |