aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-11-23 09:25:00 -0500
committerPaul Gilbert2017-11-23 09:25:00 -0500
commit6f3e8ed396078ff40eafbf1cbc94e5f33d87c0ad (patch)
treedfca8b5c472e7d85695d120b49de6244c855844a
parent1211d41f770d31b0a188e860e1eea83860ce196c (diff)
downloadscummvm-rg350-6f3e8ed396078ff40eafbf1cbc94e5f33d87c0ad.tar.gz
scummvm-rg350-6f3e8ed396078ff40eafbf1cbc94e5f33d87c0ad.tar.bz2
scummvm-rg350-6f3e8ed396078ff40eafbf1cbc94e5f33d87c0ad.zip
XEEN: Fix rendering of Blacksmith screen
-rw-r--r--engines/xeen/town.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp
index 10a295c42a..75b7581e2a 100644
--- a/engines/xeen/town.cpp
+++ b/engines/xeen/town.cpp
@@ -108,7 +108,7 @@ int Town::townAction(int actionId) {
case 1:
// Blacksmith
_icons1.load("esc.icn");
- addButton(Common::Rect(261, 100, 285, 120), Common::KEYCODE_ESCAPE, &_icons1);
+ addButton(Common::Rect(261, 108, 285, 128), Common::KEYCODE_ESCAPE, &_icons1);
addButton(Common::Rect(234, 54, 308, 62), 0);
addButton(Common::Rect(234, 64, 308, 72), Common::KEYCODE_b);
addButton(Common::Rect(234, 74, 308, 82), 0);
@@ -122,7 +122,7 @@ int Town::townAction(int actionId) {
// Guild
loadStrings("spldesc.bin");
_icons1.load("esc.icn");
- addButton(Common::Rect(261, 100, 285, 120), Common::KEYCODE_ESCAPE, &_icons1);
+ addButton(Common::Rect(261, 108, 285, 128), Common::KEYCODE_ESCAPE, &_icons1);
addButton(Common::Rect(234, 54, 308, 62), 0);
addButton(Common::Rect(234, 64, 308, 72), Common::KEYCODE_b);
addButton(Common::Rect(234, 74, 308, 82), Common::KEYCODE_s);
@@ -152,7 +152,7 @@ int Town::townAction(int actionId) {
case 4:
// Temple
_icons1.load("esc.icn");
- addButton(Common::Rect(261, 100, 285, 120), Common::KEYCODE_ESCAPE, &_icons1);
+ addButton(Common::Rect(261, 108, 285, 128), Common::KEYCODE_ESCAPE, &_icons1);
addButton(Common::Rect(234, 54, 308, 62), Common::KEYCODE_h);
addButton(Common::Rect(234, 64, 308, 72), Common::KEYCODE_d);
addButton(Common::Rect(234, 74, 308, 82), Common::KEYCODE_u);
@@ -344,7 +344,7 @@ Common::String Town::createTownText(Character &ch) {
case 1:
// Blacksmith
return Common::String::format(Res.BLACKSMITH_TEXT,
- XeenEngine::printMil(party._gold).c_str());
+ ch._name.c_str(), XeenEngine::printMil(party._gold).c_str());
case 2:
// Guild