aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/town.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-11-23 16:56:32 -0500
committerPaul Gilbert2017-11-23 16:56:32 -0500
commitd930243193e230b217e4b1aa72c61ef8f550e346 (patch)
tree67fb5b2ee5f85966cb7a123996387b82cd01b53d /engines/xeen/town.cpp
parent8d11a057a494000286c1b7543ff4ca0d87c712cc (diff)
downloadscummvm-rg350-d930243193e230b217e4b1aa72c61ef8f550e346.tar.gz
scummvm-rg350-d930243193e230b217e4b1aa72c61ef8f550e346.tar.bz2
scummvm-rg350-d930243193e230b217e4b1aa72c61ef8f550e346.zip
XEEN: Rendering fixes for town trainer
Diffstat (limited to 'engines/xeen/town.cpp')
-rw-r--r--engines/xeen/town.cpp4
1 files changed, 2 insertions, 2 deletions
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: