From d930243193e230b217e4b1aa72c61ef8f550e346 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 23 Nov 2017 16:56:32 -0500 Subject: XEEN: Rendering fixes for town trainer --- engines/xeen/town.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/xeen/town.cpp') diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp index 0019db86eb..0863f3175c 100644 --- a/engines/xeen/town.cpp +++ b/engines/xeen/town.cpp @@ -169,7 +169,7 @@ int Town::townAction(TownAction actionId) { _icons1.load("train.icn"); addButton(Common::Rect(281, 108, 305, 128), Common::KEYCODE_ESCAPE, &_icons1); - addButton(Common::Rect(242, 108, 266, 128), Common::KEYCODE_t); + addButton(Common::Rect(242, 108, 266, 128), Common::KEYCODE_t, &_icons1); sound.stopSound(); vocName = isDarkCc ? "training.voc" : "youtrn1.voc"; @@ -471,7 +471,7 @@ Common::String Town::createTownText(Character &ch) { ch._name.c_str(), ch._level._permanent + 1); } - return Common::String::format(Res.TRAINING_TEXT, + return Common::String::format(Res.TRAINING_TEXT, msg.c_str(), XeenEngine::printMil(party._gold).c_str()); default: -- cgit v1.2.3