From 20d122bd8bcee4fdd22955e56de57e74e464c6c7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 15 Jul 2015 20:22:55 -0400 Subject: SHERLOCK: RT: Fix horizontal placement of talk windows --- engines/sherlock/tattoo/widget_talk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sherlock/tattoo/widget_talk.cpp b/engines/sherlock/tattoo/widget_talk.cpp index 276c83717f..8db44aa453 100644 --- a/engines/sherlock/tattoo/widget_talk.cpp +++ b/engines/sherlock/tattoo/widget_talk.cpp @@ -104,7 +104,7 @@ void WidgetTalk::load() { // Place the window centered above the player Common::Point pt; int scaleVal = scene.getScaleVal(people[HOLMES]._position); - pt.x = people[HOLMES]._position.x / FIXED_INT_MULTIPLIER; + pt.x = people[HOLMES]._position.x / FIXED_INT_MULTIPLIER - _bounds.width() / 2; if (scaleVal == SCALE_THRESHOLD) { pt.x += people[0].frameWidth() / 2; -- cgit v1.2.3