diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-16 23:18:55 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-16 23:18:55 +0000 |
commit | dc53baaaf65943c6768e3ad209129609334133e8 (patch) | |
tree | cfd4ba52d94e2f2238195addaa53f80f4013f36a /src/gui/shop.cpp | |
parent | 35afca876ece89be5b282c73a200d0d3c5d27fe0 (diff) | |
download | mana-dc53baaaf65943c6768e3ad209129609334133e8.tar.gz mana-dc53baaaf65943c6768e3ad209129609334133e8.tar.bz2 mana-dc53baaaf65943c6768e3ad209129609334133e8.tar.xz mana-dc53baaaf65943c6768e3ad209129609334133e8.zip |
Subclassed ShopListBox from ListBox to get rid of some duplicated code, and
fixed a problem with scrolling to the current selection. Also aligned the text
a bit better and put the price in parenthesis.
Diffstat (limited to 'src/gui/shop.cpp')
-rw-r--r-- | src/gui/shop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/shop.cpp b/src/gui/shop.cpp index 2d33e8a8..3d972bc2 100644 --- a/src/gui/shop.cpp +++ b/src/gui/shop.cpp @@ -45,7 +45,7 @@ void ShopItems::addItem(short id, int price) ITEM_SHOP item_shop; item_shop.name = ItemDB::get(id).getName() - + " " + toString(price) + " GP"; + + " (" + toString(price) + " GP)"; item_shop.price = price; item_shop.id = id; item_shop.image = ItemDB::get(id).getImage(); |