Skip to content

Commit

Permalink
SHERLOCK: RT: Fix tearing in ending credits
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Feb 22, 2016
1 parent f7025c4 commit b12cb73
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions engines/sherlock/tattoo/widget_credits.cpp
Expand Up @@ -185,8 +185,6 @@ void WidgetCredits::blitCredits() {

screen.slamRect(r);
}

_creditLines[idx]._position.y -= _creditSpeed;
}
}

Expand All @@ -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) {
Expand Down

0 comments on commit b12cb73

Please sign in to comment.