Skip to content

Commit

Permalink
XEEN: Fix rendering of Blacksmith screen
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Nov 23, 2017
1 parent 1211d41 commit 6f3e8ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engines/xeen/town.cpp
Expand Up @@ -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);
Expand All @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6f3e8ed

Please sign in to comment.