aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/screen_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/screen_v2.cpp b/engines/kyra/screen_v2.cpp
index 919b9086f3..f493b39f19 100644
--- a/engines/kyra/screen_v2.cpp
+++ b/engines/kyra/screen_v2.cpp
@@ -53,7 +53,7 @@ uint8 *Screen_v2::generateOverlay(const Palette &pal, uint8 *buffer, int startCo
uint8 *dst = buffer;
*dst++ = 0;
- for (int i = 1; i != 255; ++i) {
+ for (int i = 1; i != 256; ++i) {
uint8 processedPalette[3];
byte col;