From 87d97ead359fbf41423cc94109bd62a434c0d19e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 10 Oct 2003 14:14:36 +0000 Subject: [PATCH] fix by hibernatus svn-id: r10725 --- scumm/gfx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 18213eadf63..4da336a8b4d 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -2072,7 +2072,7 @@ void Gdi::unkDecode9(byte *dst, const byte *src, int height) { color += bits << i; } for (i = 0; i < ((c & 3) + 2); i++) { - *dst = (run * 16 + _vm->_roomPalette[color]); + *dst = _vm->_roomPalette[run * 16 + color]; NEXT_ROW; } break; @@ -2084,7 +2084,7 @@ void Gdi::unkDecode9(byte *dst, const byte *src, int height) { READ_256BIT; color += bits << j; } - *dst = (run * 16 + _vm->_roomPalette[color]); + *dst = _vm->_roomPalette[run * 16 + color]; NEXT_ROW; } break;