diff options
author | Paul Gilbert | 2015-07-15 20:22:55 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-15 20:22:55 -0400 |
commit | 20d122bd8bcee4fdd22955e56de57e74e464c6c7 (patch) | |
tree | beed097753c37f5e249170e083f40ffd33e72a77 /engines/sherlock/tattoo | |
parent | 0e8cb7cebcb03820b928dab27ab6c7ab87a6b2b9 (diff) | |
download | scummvm-rg350-20d122bd8bcee4fdd22955e56de57e74e464c6c7.tar.gz scummvm-rg350-20d122bd8bcee4fdd22955e56de57e74e464c6c7.tar.bz2 scummvm-rg350-20d122bd8bcee4fdd22955e56de57e74e464c6c7.zip |
SHERLOCK: RT: Fix horizontal placement of talk windows
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r-- | engines/sherlock/tattoo/widget_talk.cpp | 2 |
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; |