diff options
author | Travis Howell | 2009-06-10 06:05:11 +0000 |
---|---|---|
committer | Travis Howell | 2009-06-10 06:05:11 +0000 |
commit | 8a8366aab5ee33857a0574aac6675f27912388c3 (patch) | |
tree | f92aad02e2d408e8d5752ef75b12e01f915cf04a /engines | |
parent | 58a348fd18727aab57c0f4f8ab4cc5ad893ee795 (diff) | |
download | scummvm-rg350-8a8366aab5ee33857a0574aac6675f27912388c3.tar.gz scummvm-rg350-8a8366aab5ee33857a0574aac6675f27912388c3.tar.bz2 scummvm-rg350-8a8366aab5ee33857a0574aac6675f27912388c3.zip |
Correct horizontal flipping in decompressWizImage(), when using 16bit color.
svn-id: r41418
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/he/wiz_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp index 9aa2bf741a..4661bb649c 100644 --- a/engines/scumm/he/wiz_he.cpp +++ b/engines/scumm/he/wiz_he.cpp @@ -858,7 +858,7 @@ void Wiz::decompressWizImage(uint8 *dst, int dstPitch, int dstType, const uint8 dstInc = bitDepth; if (flags & kWIFFlipX) { dstPtr += (w - 1) * bitDepth; - dstInc = -1; + dstInc = -bitDepth; } while (h--) { |