diff options
author | Paul Gilbert | 2015-01-28 20:09:15 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-28 20:09:15 -0500 |
commit | 16b8382d6e72c72d567b44bca8cf0d48a4280366 (patch) | |
tree | 8af4d42d8056c8b231b6f573f842eb520a3353ee | |
parent | 5228879a1dfa2684ee71fe0577eb98dbbc92d55a (diff) | |
download | scummvm-rg350-16b8382d6e72c72d567b44bca8cf0d48a4280366.tar.gz scummvm-rg350-16b8382d6e72c72d567b44bca8cf0d48a4280366.tar.bz2 scummvm-rg350-16b8382d6e72c72d567b44bca8cf0d48a4280366.zip |
XEEN: Fix display of buy message for buying tavern food
-rw-r--r-- | engines/xeen/screen.cpp | 9 | ||||
-rw-r--r-- | engines/xeen/town.cpp | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/xeen/screen.cpp b/engines/xeen/screen.cpp index 87062dc5ec..e979143ed5 100644 --- a/engines/xeen/screen.cpp +++ b/engines/xeen/screen.cpp @@ -63,6 +63,15 @@ void Window::open2() { addDirtyRect(_bounds); frame(); fill(); + + Screen &screen = *_vm->_screen; + screen._writePos.x = _bounds.right - 8; + screen.writeSymbol(19); + + screen._writePos.x = _innerBounds.left; + screen._writePos.y = _innerBounds.top; + screen._fontJustify = JUSTIFY_NONE; + screen._fontReduced = false; } void Window::frame() { diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp index a1b09712c5..b28300f2a3 100644 --- a/engines/xeen/town.cpp +++ b/engines/xeen/town.cpp @@ -659,6 +659,7 @@ Character *Town::doTavernOptions(Character *c) { screen._windows[10].close(); screen._windows[12].open(); screen._windows[12].writeString(msg); + screen._windows[12].update(); if (YesNo::show(_vm, false, true)) { if (party._food >= _v22) { |