fix regression in MI1 (and possibly others)

svn-id: r7472
This commit is contained in:
Max Horn 2003-05-12 16:57:04 +00:00
parent 8ddfcf7087
commit 12f7d71bf2

View file

@ -270,12 +270,12 @@ void Scumm::drawVerbBitmap(int verb, int x, int y) {
for (i = 0; i < imgw; i++) {
tmp = xstrip + i;
if (tmp < gdi._numStrips)
gdi.drawBitmap(imptr, vs, tmp, ydiff, imgw << 3, imgh << 3, i, 1, Gdi::dbAllowMaskOr);
gdi.drawBitmap(imptr, vs, tmp, ydiff, imgw * 8, imgh * 8, i, 1, Gdi::dbAllowMaskOr);
}
vst = &_verbs[verb];
vst->right = vst->x + imgw << 3;
vst->bottom = vst->y + imgh << 3;
vst->right = vst->x + imgw * 8;
vst->bottom = vst->y + imgh * 8;
vst->oldleft = vst->x;
vst->oldright = vst->right;
vst->oldtop = vst->y;