diff options
author | Travis Howell | 2010-08-25 06:02:18 +0000 |
---|---|---|
committer | Travis Howell | 2010-08-25 06:02:18 +0000 |
commit | 4c215fc9a01008fd93bb6d717bb705462b435de4 (patch) | |
tree | 8ae230daac730838f8b6cc4a7d51f09fec81ae99 | |
parent | 9ca51656060345ecc2fe2e5248d02e64ce8bbfc6 (diff) | |
download | scummvm-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
-rw-r--r-- | engines/scumm/gfx.cpp | 2 |
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); |