diff options
Diffstat (limited to 'engines/mohawk/graphics.cpp')
-rw-r--r-- | engines/mohawk/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp index 39737f5047..f65ae0ee66 100644 --- a/engines/mohawk/graphics.cpp +++ b/engines/mohawk/graphics.cpp @@ -364,7 +364,7 @@ void MystGraphics::animatedUpdate(uint16 type, Common::Rect rect, uint16 steps, _dirtyRects.push_back(area); updateScreen(); } - if (area.top < rect.bottom) { + if (area.bottom < rect.bottom) { area.top = area.bottom; area.bottom = rect.bottom; @@ -387,7 +387,7 @@ void MystGraphics::animatedUpdate(uint16 type, Common::Rect rect, uint16 steps, _dirtyRects.push_back(area); updateScreen(); } - if (area.bottom > rect.top) { + if (area.top > rect.top) { area.bottom = area.top; area.top = rect.top; |