aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-09-24 21:49:52 +0000
committerMax Horn2004-09-24 21:49:52 +0000
commit5d655be798a811831c74064601121136a6cf6917 (patch)
treee247393d7ce00a22ba7580f73861f2973ab878aa
parent503fb0982ecb2c66a033344d4e0dd85f342ed4f5 (diff)
downloadscummvm-rg350-5d655be798a811831c74064601121136a6cf6917.tar.gz
scummvm-rg350-5d655be798a811831c74064601121136a6cf6917.tar.bz2
scummvm-rg350-5d655be798a811831c74064601121136a6cf6917.zip
gdi.drawBitmap already performs clipping, no need to do it here
svn-id: r15256
-rw-r--r--scumm/verbs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp
index 578c9327d3..d65dc2e46e 100644
--- a/scumm/verbs.cpp
+++ b/scumm/verbs.cpp
@@ -488,8 +488,7 @@ void ScummEngine::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 * 8, imgh * 8, i, 1, Gdi::dbAllowMaskOr);
+ gdi.drawBitmap(imptr, vs, tmp, ydiff, imgw * 8, imgh * 8, i, 1, Gdi::dbAllowMaskOr);
}
vst = &_verbs[verb];