aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-08 07:57:36 -0400
committerPaul Gilbert2015-07-08 07:57:36 -0400
commit08414cfaed5554796a0ea94c66f7e50a03395797 (patch)
tree6a01f50f8cea195b21166e37d78eadbde231c398 /engines/sherlock/tattoo/tattoo_scene.cpp
parented2caf7cd64ad16110dba763ebda8bbbdb69a244 (diff)
downloadscummvm-rg350-08414cfaed5554796a0ea94c66f7e50a03395797.tar.gz
scummvm-rg350-08414cfaed5554796a0ea94c66f7e50a03395797.tar.bz2
scummvm-rg350-08414cfaed5554796a0ea94c66f7e50a03395797.zip
SHERLOCK: RT: Fix screen drawing when actively scrolling screen
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_scene.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp
index 2d82b2f641..f8ca2651c6 100644
--- a/engines/sherlock/tattoo/tattoo_scene.cpp
+++ b/engines/sherlock/tattoo/tattoo_scene.cpp
@@ -354,7 +354,7 @@ void TattooScene::doBgAnim() {
events.wait(3);
if (screen._flushScreen) {
- screen.slamRect(Common::Rect(0, 0, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCREEN_HEIGHT));
+ screen.slamArea(screen._currentScroll.x, screen._currentScroll.y, SHERLOCK_SCREEN_WIDTH, SHERLOCK_SCREEN_HEIGHT);
screen._flushScreen = false;
}