From d1210392ef1c755fc0c513d81e4981141e6963ee Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 4 Jun 2009 09:32:36 +0000 Subject: Ooops, correct typo in last commit. svn-id: r41158 --- engines/scumm/he/wiz_he.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3