aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/tattoo/tattoo_scene.cpp4
-rw-r--r--engines/sherlock/tattoo/tattoo_user_interface.cpp6
-rw-r--r--engines/sherlock/tattoo/widget_base.cpp1
3 files changed, 5 insertions, 6 deletions
diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp
index 3a0888ca57..d41df5e275 100644
--- a/engines/sherlock/tattoo/tattoo_scene.cpp
+++ b/engines/sherlock/tattoo/tattoo_scene.cpp
@@ -346,10 +346,10 @@ void TattooScene::doBgAnim() {
doBgAnimUpdateBgObjectsAndAnim();
- ui.drawInterface();
-
doBgAnimDrawSprites();
+ ui.drawInterface();
+
if (vm._creditsActive)
vm.blitCredits();
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp
index fd94b2e1c8..79a6eaf240 100644
--- a/engines/sherlock/tattoo/tattoo_user_interface.cpp
+++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp
@@ -294,9 +294,6 @@ void TattooUserInterface::drawInterface(int bufferNum) {
if (_widget)
_widget->draw();
- // Handle drawing the text tooltip if necessary
- _tooltipWidget.draw();
-
if (vm._creditsActive)
vm.drawCredits();
@@ -306,6 +303,9 @@ void TattooUserInterface::drawInterface(int bufferNum) {
if (screen._flushScreen)
screen.blockMove(_currentScroll);
+
+ // Handle drawing the text tooltip if necessary
+ _tooltipWidget.draw();
}
void TattooUserInterface::doBgAnimRestoreUI() {
diff --git a/engines/sherlock/tattoo/widget_base.cpp b/engines/sherlock/tattoo/widget_base.cpp
index b958053286..0a53c55222 100644
--- a/engines/sherlock/tattoo/widget_base.cpp
+++ b/engines/sherlock/tattoo/widget_base.cpp
@@ -80,7 +80,6 @@ void WidgetBase::draw() {
bounds.translate(currentScroll.x, currentScroll.y);
// Draw the background for the widget
- screen._backBuffer1.blitFrom(screen._backBuffer2, Common::Point(bounds.left, bounds.top), bounds);
drawBackground();
// Draw the widget onto the back buffer and then slam it to the screen