aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-06-04 09:32:36 +0000
committerTravis Howell2009-06-04 09:32:36 +0000
commitd1210392ef1c755fc0c513d81e4981141e6963ee (patch)
tree7a5b7ab10d77361a6b3c011f6e9496b4ebd8b86a
parentbf212d7b2f4f3b8851a6cd44c4c922cf0f46f94b (diff)
downloadscummvm-rg350-d1210392ef1c755fc0c513d81e4981141e6963ee.tar.gz
scummvm-rg350-d1210392ef1c755fc0c513d81e4981141e6963ee.tar.bz2
scummvm-rg350-d1210392ef1c755fc0c513d81e4981141e6963ee.zip
Ooops, correct typo in last commit.
svn-id: r41158
-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 ff58623479..f9e76e682e 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -1447,7 +1447,7 @@ uint8 *Wiz::drawWizImage(int resNum, int state, int x1, int y1, int zorder, int
case 1:
if (flags & 0x80) {
dst = _vm->getMaskBuffer(0, 0, 1);
- dstPitch = _vm->_bitDepth;
+ dstPitch /= _vm->_bitDepth;
copyWizImageWithMask(dst, wizd, dstPitch, cw, ch, x1, y1, width, height, &rScreen, 0, 2);
} else if (flags & 0x100) {
dst = _vm->getMaskBuffer(0, 0, 1);