mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
MOHAWK: Fix drawing the last step of an animated update
svn-id: r54635
This commit is contained in:
parent
7ea90ddf19
commit
836aab9968
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user