diff options
author | Bastien Bouclet | 2010-11-29 21:00:37 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-11-29 21:00:37 +0000 |
commit | 836aab996867612502854a6d0406841f47409f6e (patch) | |
tree | 2432681184c6c75ba6cf32f6bfa97843989d8a4d | |
parent | 7ea90ddf193deee82486cd3bd23f3af81511cf67 (diff) | |
download | scummvm-rg350-836aab996867612502854a6d0406841f47409f6e.tar.gz scummvm-rg350-836aab996867612502854a6d0406841f47409f6e.tar.bz2 scummvm-rg350-836aab996867612502854a6d0406841f47409f6e.zip |
MOHAWK: Fix drawing the last step of an animated update
svn-id: r54635
-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; |