From 003afa45a37f17e5d148232bfd35a461901222cc Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 5 Jun 2015 23:55:33 +0200 Subject: SHERLOCK: "Fix" corruption in Rose Tatto intro It still looks bad, but given the comments it makes more sense to copy from _backBuffer2 than trying to copy an invalid portion of the frame. --- engines/sherlock/tattoo/tattoo_scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp index 737d986f81..5f2e198f23 100644 --- a/engines/sherlock/tattoo/tattoo_scene.cpp +++ b/engines/sherlock/tattoo/tattoo_scene.cpp @@ -335,7 +335,7 @@ void TattooScene::doBgAnimEraseBackground() { if ((obj._type == ACTIVE_BG_SHAPE && (obj._maxFrames > 1 || obj._delta.x != 0 || obj._delta.y != 0)) || obj._type == HIDE_SHAPE || obj._type == REMOVE) - screen._backBuffer1.blitFrom(*obj._imageFrame, obj._oldPosition, + screen._backBuffer1.blitFrom(screen._backBuffer2, obj._oldPosition, Common::Rect(obj._oldPosition.x, obj._oldPosition.y, obj._oldPosition.x + obj._oldSize.x, obj._oldPosition.y + obj._oldSize.y)); } -- cgit v1.2.3