diff options
author | Travis Howell | 2009-06-05 04:28:07 +0000 |
---|---|---|
committer | Travis Howell | 2009-06-05 04:28:07 +0000 |
commit | 1f43d9b860b9c1a6d5e62cc261ff5da94b42d50e (patch) | |
tree | 071b482585866f073885a3a98af6bfb06d161792 /engines/scumm | |
parent | e90364c890dcea2ca824941495365ed915146d41 (diff) | |
download | scummvm-rg350-1f43d9b860b9c1a6d5e62cc261ff5da94b42d50e.tar.gz scummvm-rg350-1f43d9b860b9c1a6d5e62cc261ff5da94b42d50e.tar.bz2 scummvm-rg350-1f43d9b860b9c1a6d5e62cc261ff5da94b42d50e.zip |
Correct error in decompress16BitWizImage().
svn-id: r41190
Diffstat (limited to 'engines/scumm')
-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 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; |