aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-06-05 04:28:07 +0000
committerTravis Howell2009-06-05 04:28:07 +0000
commit1f43d9b860b9c1a6d5e62cc261ff5da94b42d50e (patch)
tree071b482585866f073885a3a98af6bfb06d161792
parente90364c890dcea2ca824941495365ed915146d41 (diff)
downloadscummvm-rg350-1f43d9b860b9c1a6d5e62cc261ff5da94b42d50e.tar.gz
scummvm-rg350-1f43d9b860b9c1a6d5e62cc261ff5da94b42d50e.tar.bz2
scummvm-rg350-1f43d9b860b9c1a6d5e62cc261ff5da94b42d50e.zip
Correct error in decompress16BitWizImage().
svn-id: r41190
-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 20ff7fa309..8fe2639fbb 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -659,7 +659,7 @@ void Wiz::decompress16BitWizImage(uint8 *dst, int dstPitch, int dstType, const u
code = -xoff;
}
- dstPtr += dstInc;
+ dstPtr += dstInc * code;
w -= code;
} else if (code & 2) {
code = (code >> 2) + 1;