diff options
author | Travis Howell | 2009-03-17 00:00:29 +0000 |
---|---|---|
committer | Travis Howell | 2009-03-17 00:00:29 +0000 |
commit | 331399db9bd2539ce3698bf89630b8954c64c123 (patch) | |
tree | f84652463accff6c38a19abac651d1dceece7215 | |
parent | 5f087d5ad68206d845c304b4c7209cf8a8bda272 (diff) | |
download | scummvm-rg350-331399db9bd2539ce3698bf89630b8954c64c123.tar.gz scummvm-rg350-331399db9bd2539ce3698bf89630b8954c64c123.tar.bz2 scummvm-rg350-331399db9bd2539ce3698bf89630b8954c64c123.zip |
Change adjustForPalette(), to skip transparency color (zero).
svn-id: r39464
-rw-r--r-- | engines/parallaction/disk_br.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } } |