diff options
author | Max Horn | 2004-01-19 18:57:06 +0000 |
---|---|---|
committer | Max Horn | 2004-01-19 18:57:06 +0000 |
commit | f94373b570ecfb276052b9d3061f4545ecd2a2f3 (patch) | |
tree | aed38cc25b561b6093c6c7d3777d21e9d35226a2 | |
parent | a9f8a9ca1875be33d6bb63c6c31d00082f5b6d4a (diff) | |
download | scummvm-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.cpp | 4 |
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); |