diff options
author | Paul Gilbert | 2016-02-21 20:46:46 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-02-21 20:46:46 -0500 |
commit | b12cb7308ab3260e84520b3de2d34dbd6d7cd77d (patch) | |
tree | a6a38e0e875b661cffa958d639da5fc1264f5921 /engines/sherlock/tattoo | |
parent | f7025c4cab7a1e115b31f1283bea3797876dbf54 (diff) | |
download | scummvm-rg350-b12cb7308ab3260e84520b3de2d34dbd6d7cd77d.tar.gz scummvm-rg350-b12cb7308ab3260e84520b3de2d34dbd6d7cd77d.tar.bz2 scummvm-rg350-b12cb7308ab3260e84520b3de2d34dbd6d7cd77d.zip |
SHERLOCK: RT: Fix tearing in ending credits
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r-- | engines/sherlock/tattoo/widget_credits.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sherlock/tattoo/widget_credits.cpp b/engines/sherlock/tattoo/widget_credits.cpp index b8e297709f..2b37dd304b 100644 --- a/engines/sherlock/tattoo/widget_credits.cpp +++ b/engines/sherlock/tattoo/widget_credits.cpp @@ -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) { |