aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-15 20:22:55 -0400
committerPaul Gilbert2015-07-15 20:22:55 -0400
commit20d122bd8bcee4fdd22955e56de57e74e464c6c7 (patch)
treebeed097753c37f5e249170e083f40ffd33e72a77
parent0e8cb7cebcb03820b928dab27ab6c7ab87a6b2b9 (diff)
downloadscummvm-rg350-20d122bd8bcee4fdd22955e56de57e74e464c6c7.tar.gz
scummvm-rg350-20d122bd8bcee4fdd22955e56de57e74e464c6c7.tar.bz2
scummvm-rg350-20d122bd8bcee4fdd22955e56de57e74e464c6c7.zip
SHERLOCK: RT: Fix horizontal placement of talk windows
-rw-r--r--engines/sherlock/tattoo/widget_talk.cpp2
1 files changed, 1 insertions, 1 deletions
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;