aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-05-10 21:33:28 +0000
committerMax Horn2003-05-10 21:33:28 +0000
commit08a9a07c400ca734c3a2b001576947a7ba392d86 (patch)
tree0a72de77c334427283bc984a295a02836edf9d7d /scumm
parent9401435b6f6c270eb068b7b9e0b32949ea3b74ac (diff)
downloadscummvm-rg350-08a9a07c400ca734c3a2b001576947a7ba392d86.tar.gz
scummvm-rg350-08a9a07c400ca734c3a2b001576947a7ba392d86.tar.bz2
scummvm-rg350-08a9a07c400ca734c3a2b001576947a7ba392d86.zip
fixed the way redrawBGStrip invokes drawBitmap -> this makes the office scene in the Zak intro show up correctly (again thanks to MadMoose for the clue that lead to the right solution :-)
svn-id: r7421
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 087584fb84..1bc51ffb34 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -720,7 +720,7 @@ void Scumm::redrawBGStrip(int start, int num) {
setGfxUsageBit(s + i, USAGE_BIT_DIRTY);
gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource) + _IM00_offs,
- &virtscr[0], s, 0, virtscr[0].width, virtscr[0].height, s, num, 0);
+ &virtscr[0], s, 0, _scrWidth, virtscr[0].height, s, num, 0);
}
void Scumm::restoreCharsetBg() {