aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 348ea1bffa..47edae6218 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -1771,7 +1771,7 @@ void Gdi::unkDecodeA(byte *dst, const byte *src, int height) {
cl -= 3;
bits >>= 3;
if (incm) {
- color = (byte)((color + incm) & 0xFF);
+ color += incm;
} else {
FILL_BITS;
reps = bits & 0xFF;