aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/he/wiz_he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index 6fa605b7cb..befda8f5c6 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -548,8 +548,8 @@ void Wiz::copyRawWizImage(uint8 *dst, const uint8 *src, int dstw, int dsth, int
}
palPtr = imagePal;
}
- int h = r1.height() + 1;
- int w = r1.width() + 1;
+ int h = r1.height();
+ int w = r1.width();
src += r1.left + r1.top * srcw;
dst += r2.left + r2.top * dstw;
while (h--) {