diff options
author | Travis Howell | 2009-06-18 01:13:42 +0000 |
---|---|---|
committer | Travis Howell | 2009-06-18 01:13:42 +0000 |
commit | 68cb22d4a95060bcba9b5a44508bc4ab57cb47ed (patch) | |
tree | 793dc9c5a496d572f9b65e8536f6c0734f44071c /engines/scumm | |
parent | e1c93e7342770f052bc0aecf4aab760e7008bb65 (diff) | |
download | scummvm-rg350-68cb22d4a95060bcba9b5a44508bc4ab57cb47ed.tar.gz scummvm-rg350-68cb22d4a95060bcba9b5a44508bc4ab57cb47ed.tar.bz2 scummvm-rg350-68cb22d4a95060bcba9b5a44508bc4ab57cb47ed.zip |
Fix regression, caused by typo in my last commit.
svn-id: r41621
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/he/wiz_he.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp index deaf7aaf72..b2e367719e 100644 --- a/engines/scumm/he/wiz_he.cpp +++ b/engines/scumm/he/wiz_he.cpp @@ -1152,10 +1152,8 @@ static int wizPackType2(uint8 *dst, const uint8 *src, int srcPitch, const Common if (dst) { src += rCapt.top * srcPitch + rCapt.left * 2; while (h--) { - for (int i = 0; i < w; i++) { - uint16 col = READ_UINT16(src + w * 2); - WRITE_LE_UINT16(dst + w * 2, col); - } + for (int i = 0; i < w; i++) + WRITE_LE_UINT16(dst + i * 2, READ_UINT16(src + i * 2)); dst += w * 2; src += srcPitch; } |