aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-06-05 23:55:33 +0200
committerTorbjörn Andersson2015-06-05 23:55:33 +0200
commit003afa45a37f17e5d148232bfd35a461901222cc (patch)
treea27c5a46dc691e2bb0c9ff92fa207d631cfa3209
parent766b4fdde65d8592c00df8cce9e52f4964a2d061 (diff)
downloadscummvm-rg350-003afa45a37f17e5d148232bfd35a461901222cc.tar.gz
scummvm-rg350-003afa45a37f17e5d148232bfd35a461901222cc.tar.bz2
scummvm-rg350-003afa45a37f17e5d148232bfd35a461901222cc.zip
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.
-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 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));
}