aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-01-19 18:57:06 +0000
committerMax Horn2004-01-19 18:57:06 +0000
commitf94373b570ecfb276052b9d3061f4545ecd2a2f3 (patch)
treeaed38cc25b561b6093c6c7d3777d21e9d35226a2
parenta9f8a9ca1875be33d6bb63c6c31d00082f5b6d4a (diff)
downloadscummvm-rg350-f94373b570ecfb276052b9d3061f4545ecd2a2f3.tar.gz
scummvm-rg350-f94373b570ecfb276052b9d3061f4545ecd2a2f3.tar.bz2
scummvm-rg350-f94373b570ecfb276052b9d3061f4545ecd2a2f3.zip
this is not necessary anymore
svn-id: r12512
-rw-r--r--scumm/gfx.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 9da4e37a35..c9c05c0e19 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -563,10 +563,6 @@ void ScummEngine::restoreBG(Common::Rect rect, byte backColor) {
rect.top -= topline;
rect.bottom -= topline;
- if (rect.left < 0)
- rect.left = 0;
- if (rect.right < 0)
- rect.right = 0;
rect.clip(vs->width, vs->height);
markRectAsDirty(vs->number, rect, USAGE_BIT_RESTORED);