diff options
Diffstat (limited to 'engines/sherlock/screen.cpp')
-rw-r--r-- | engines/sherlock/screen.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/sherlock/screen.cpp b/engines/sherlock/screen.cpp index c236915992..fb155bf502 100644 --- a/engines/sherlock/screen.cpp +++ b/engines/sherlock/screen.cpp @@ -170,13 +170,6 @@ void Screen::addDirtyRect(const Common::Rect &r) { void Screen::mergeDirtyRects() { Common::List<Common::Rect>::iterator rOuter, rInner; - // Ensure dirty rect list has at least two entries - rOuter = _dirtyRects.begin(); - for (int i = 0; i < 2; ++i, ++rOuter) { - if (rOuter == _dirtyRects.end()) - return; - } - // Process the dirty rect list to find any rects to merge for (rOuter = _dirtyRects.begin(); rOuter != _dirtyRects.end(); ++rOuter) { rInner = rOuter; |