diff options
-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 fabc2b72e6..6a56c74df6 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -221,7 +221,7 @@ void Graphics::fadePalette(byte *palette) { void Graphics::quickFadePalette(byte *palette) { - for (uint16 i = 0; i <= PALETTE_SIZE; i++) { + for (uint16 i = 0; i < PALETTE_SIZE; i++) { if (palette[i] == _palette[i]) continue; palette[i] += (palette[i] < _palette[i] ? 4 : -4); } |