aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-06-10 06:05:11 +0000
committerTravis Howell2009-06-10 06:05:11 +0000
commit8a8366aab5ee33857a0574aac6675f27912388c3 (patch)
treef92aad02e2d408e8d5752ef75b12e01f915cf04a /engines
parent58a348fd18727aab57c0f4f8ab4cc5ad893ee795 (diff)
downloadscummvm-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.cpp2
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--) {