aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2002-12-04 21:46:05 +0000
committerMax Horn2002-12-04 21:46:05 +0000
commit8dd3d2ec290d1bbcce5136026ba22316e0432342 (patch)
tree8d547e5ff73ebe1d620d57fd3e8427781d17e3ec /scumm/gfx.cpp
parenta5302ef937917c6d4bfc3b289577ef1a34f7b4b2 (diff)
downloadscummvm-rg350-8dd3d2ec290d1bbcce5136026ba22316e0432342.tar.gz
scummvm-rg350-8dd3d2ec290d1bbcce5136026ba22316e0432342.tar.bz2
scummvm-rg350-8dd3d2ec290d1bbcce5136026ba22316e0432342.zip
more cleanup
svn-id: r5837
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index ae0500928e..6a6958cbbf 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -1763,8 +1763,8 @@ void Scumm::restoreCharsetBg()
charset._left = -1;
}
- charset._xpos2 = _string[0].xpos;
- charset._ypos2 = _string[0].ypos;
+ charset._nextLeft = _string[0].xpos;
+ charset._nextTop = _string[0].ypos;
}
void Scumm::restoreBG(int left, int top, int right, int bottom, byte backColor)
@@ -1783,10 +1783,6 @@ void Scumm::restoreBG(int left, int top, int right, int bottom, byte backColor)
topline = vs->topline;
height = topline + vs->height;
- if (vs->number == 0) {
- left += _lastXstart - vs->xstart;
- right += _lastXstart - vs->xstart;
- }
right++; // FIXME - why do we increment right here?!? (add comment)
if (left < 0)