From 331399db9bd2539ce3698bf89630b8954c64c123 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 17 Mar 2009 00:00:29 +0000 Subject: Change adjustForPalette(), to skip transparency color (zero). svn-id: r39464 --- engines/parallaction/disk_br.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp index 952dcf40af..9c99a34816 100644 --- a/engines/parallaction/disk_br.cpp +++ b/engines/parallaction/disk_br.cpp @@ -445,7 +445,8 @@ void AmigaDisk_br::adjustForPalette(Graphics::Surface &surf, int move) { uint size = surf.w * surf.h; byte *data = (byte*)surf.pixels; for (uint i = 0; i < size; i++, data++) { - *data += move; + if (*data) + *data += move; } } -- cgit v1.2.3