aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-12-16 21:00:31 -0500
committerPaul Gilbert2017-12-16 21:00:31 -0500
commitd423cfe7092c7bbe8da45a335f490950a3fa0b68 (patch)
treecadb9ce6491d06c0e847833e0c864a2e1b503891
parent5819da8d3b01c1726c847b23414179c8895c94f5 (diff)
downloadscummvm-rg350-d423cfe7092c7bbe8da45a335f490950a3fa0b68.tar.gz
scummvm-rg350-d423cfe7092c7bbe8da45a335f490950a3fa0b68.tar.bz2
scummvm-rg350-d423cfe7092c7bbe8da45a335f490950a3fa0b68.zip
XEEN: Fix display of Info dialog
-rw-r--r--engines/xeen/dialogs_info.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/xeen/dialogs_info.cpp b/engines/xeen/dialogs_info.cpp
index 2d32ec4de5..fb6734f55c 100644
--- a/engines/xeen/dialogs_info.cpp
+++ b/engines/xeen/dialogs_info.cpp
@@ -62,12 +62,13 @@ void InfoDialog::execute() {
party._day, party._year, statusText.c_str());
Window &w = windows[28];
- w.setBounds(Common::Rect(88, 20, 248, 112));
+ w.setBounds(Common::Rect(88, 20, 248, 112 + (_lines.empty() ? 0 : _lines.size() * 9 + 13)));
w.open();
+ w.writeString(details);
do {
events.updateGameCounter();
- intf.draw3d(false);
+ intf.draw3d(false, false);
w.frame();
w.writeString(details);
w.update();