aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.cpp
diff options
context:
space:
mode:
authorTravis Howell2010-08-25 06:02:18 +0000
committerTravis Howell2010-08-25 06:02:18 +0000
commit4c215fc9a01008fd93bb6d717bb705462b435de4 (patch)
tree8ae230daac730838f8b6cc4a7d51f09fec81ae99 /engines/scumm/gfx.cpp
parent9ca51656060345ecc2fe2e5248d02e64ce8bbfc6 (diff)
downloadscummvm-rg350-4c215fc9a01008fd93bb6d717bb705462b435de4.tar.gz
scummvm-rg350-4c215fc9a01008fd93bb6d717bb705462b435de4.tar.bz2
scummvm-rg350-4c215fc9a01008fd93bb6d717bb705462b435de4.zip
SCUMM: Fix bug #2702847 - PUTTZOO: Graphic glitches on dancing penguin.
svn-id: r52363
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r--engines/scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 77c52d9dc7..3b8d9c296a 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1900,7 +1900,7 @@ void Gdi::decodeMask(int x, int y, const int width, const int height,
z_plane_ptr = zplane_list[i] + offs;
if (tmsk_ptr) {
- const byte *tmsk = tmsk_ptr + READ_LE_UINT16(tmsk_ptr + 8);
+ const byte *tmsk = tmsk_ptr + READ_LE_UINT16(tmsk_ptr + stripnr * 2 + 8);
decompressTMSK(mask_ptr, tmsk, z_plane_ptr, height);
} else if (transpStrip && (flag & dbAllowMaskOr)) {
decompressMaskImgOr(mask_ptr, z_plane_ptr, height);