diff options
author | Max Horn | 2002-12-04 21:46:05 +0000 |
---|---|---|
committer | Max Horn | 2002-12-04 21:46:05 +0000 |
commit | 8dd3d2ec290d1bbcce5136026ba22316e0432342 (patch) | |
tree | 8d547e5ff73ebe1d620d57fd3e8427781d17e3ec /scumm/gfx.cpp | |
parent | a5302ef937917c6d4bfc3b289577ef1a34f7b4b2 (diff) | |
download | scummvm-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.cpp | 8 |
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) |