diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-21 15:36:49 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-21 15:36:49 +0000 |
commit | 56fef6eed9e3145b5e7d33e066069f642873d7a1 (patch) | |
tree | 10ee9c20bfa294abbbb2b96901bc0b2830007288 /src/gui/buy.cpp | |
parent | 9db3ea6a43d78bc959eef9fd594141d3a4063c0b (diff) | |
download | mana-56fef6eed9e3145b5e7d33e066069f642873d7a1.tar.gz mana-56fef6eed9e3145b5e7d33e066069f642873d7a1.tar.bz2 mana-56fef6eed9e3145b5e7d33e066069f642873d7a1.tar.xz mana-56fef6eed9e3145b5e7d33e066069f642873d7a1.zip |
trying to follow Hammerbear suggestions
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r-- | src/gui/buy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp index c26be5d3..6876fb02 100644 --- a/src/gui/buy.cpp +++ b/src/gui/buy.cpp @@ -102,7 +102,8 @@ void BuyDialog::addItem(short id, int price) { ITEM_SHOP item_shop; - sprintf(item_shop.name, "%s %i gp", itemDb.getName(id).c_str(), price); + sprintf(item_shop.name, "%s %i gp", + itemDb.getItemInfo(id)->getName().c_str(), price); item_shop.price = price; item_shop.id = id; |