aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/palette_he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/palette_he.cpp b/scumm/palette_he.cpp
index dfd6e1b821..4a8199a335 100644
--- a/scumm/palette_he.cpp
+++ b/scumm/palette_he.cpp
@@ -182,7 +182,7 @@ void ScummEngine_v99he::setPaletteFromPtr(const byte *ptr, int numcolor) {
g = *ptr++;
b = *ptr++;
- if (i <= 15 || r < 252 || g < 252 || b < 252) {
+ if (i == 15 || r < 252 || g < 252 || b < 252) {
*dest++ = r;
*dest++ = g;
*dest++ = b;