aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/gfx.cpp')
-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);