diff options
author | Max Horn | 2003-05-12 16:57:04 +0000 |
---|---|---|
committer | Max Horn | 2003-05-12 16:57:04 +0000 |
commit | 12f7d71bf28e2a29311ae228de66da59d0c7735b (patch) | |
tree | d38ef443e0a3468e420602884f22b16b35ac84f1 | |
parent | 8ddfcf7087cbfff0aac6c5e2d9deb0f553875067 (diff) | |
download | scummvm-rg350-12f7d71bf28e2a29311ae228de66da59d0c7735b.tar.gz scummvm-rg350-12f7d71bf28e2a29311ae228de66da59d0c7735b.tar.bz2 scummvm-rg350-12f7d71bf28e2a29311ae228de66da59d0c7735b.zip |
fix regression in MI1 (and possibly others)
svn-id: r7472
-rw-r--r-- | scumm/verbs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp index f3ebf19f0f..c9f524f92d 100644 --- a/scumm/verbs.cpp +++ b/scumm/verbs.cpp @@ -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; |