aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2013-07-28 17:07:57 -0400
committerPaul Gilbert2013-07-28 17:07:57 -0400
commit40f82509e94a841130061296ff415048b3663571 (patch)
treecea19d9fa410fb7c28a47dd155ca9dcddb36b2a3 /engines/tsage
parent2fefa91d952d775158c1b9bae2d6c5821b62d385 (diff)
downloadscummvm-rg350-40f82509e94a841130061296ff415048b3663571.tar.gz
scummvm-rg350-40f82509e94a841130061296ff415048b3663571.tar.bz2
scummvm-rg350-40f82509e94a841130061296ff415048b3663571.zip
TSAGE: Correct R2R width of conversation dialog
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/converse.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tsage/converse.cpp b/engines/tsage/converse.cpp
index d1cc7fbf71..46fb50b9ee 100644
--- a/engines/tsage/converse.cpp
+++ b/engines/tsage/converse.cpp
@@ -444,7 +444,8 @@ int ConversationChoiceDialog::execute(const Common::StringArray &choiceList) {
_bounds.bottom -= 10;
yp = 180 - _bounds.height();
_bounds.translate(0, yp);
- _bounds.right = _bounds.left + 280;
+ _bounds.setWidth(textMaxWidth() + 15);
+ _bounds.moveTo(160 - (_bounds.width() / 2), _bounds.top);
// Draw the dialog
draw();