[Scummvm-cvs-logs] scummvm master -> 08414cfaed5554796a0ea94c66f7e50a03395797

dreammaster dreammaster at scummvm.org
Wed Jul 8 13:58:47 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
08414cfaed SHERLOCK: RT: Fix screen drawing when actively scrolling screen


Commit: 08414cfaed5554796a0ea94c66f7e50a03395797
    https://github.com/scummvm/scummvm/commit/08414cfaed5554796a0ea94c66f7e50a03395797
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-07-08T07:57:36-04:00

Commit Message:
SHERLOCK: RT: Fix screen drawing when actively scrolling screen

Changed paths:
    engines/sherlock/tattoo/tattoo_scene.cpp



diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp
index 2d82b2f..f8ca265 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;
 	}
 






More information about the Scummvm-git-logs mailing list