SHERLOCK: RT: Fix tearing in ending credits

This commit is contained in:
Paul Gilbert 2016-02-21 20:46:46 -05:00
parent f7025c4cab
commit b12cb7308a

View File

@ -185,8 +185,6 @@ void WidgetCredits::blitCredits() {
screen.slamRect(r);
}
_creditLines[idx]._position.y -= _creditSpeed;
}
}
@ -200,7 +198,10 @@ void WidgetCredits::eraseCredits() {
r.moveTo(_creditLines[idx]._position.x, _creditLines[idx]._position.y - 1 + _creditSpeed);
screen.restoreBackground(r);
screen.slamRect(r);
}
_creditLines[idx]._position.y -= _creditSpeed;
}
if (_creditLines[_creditLines.size() - 1]._position.y < -_creditSpeed) {