From 16b8382d6e72c72d567b44bca8cf0d48a4280366 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 28 Jan 2015 20:09:15 -0500 Subject: XEEN: Fix display of buy message for buying tavern food --- engines/xeen/screen.cpp | 9 +++++++++ engines/xeen/town.cpp | 1 + 2 files changed, 10 insertions(+) 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) { -- cgit v1.2.3