diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-26 08:24:01 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-26 08:24:01 -0700 |
commit | 0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a (patch) | |
tree | 51cec1c070c97b7d03120254710da1577daf5f92 /src/gui/shop.cpp | |
parent | 0dde31c3db09113639fa443142995b6efcff6646 (diff) | |
download | mana-0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a.tar.gz mana-0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a.tar.bz2 mana-0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a.tar.xz mana-0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a.zip |
Fixed an error in shoplistboxes as identified by Octalot.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/shop.cpp')
-rw-r--r-- | src/gui/shop.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/shop.cpp b/src/gui/shop.cpp index da68cf28..bd676bc0 100644 --- a/src/gui/shop.cpp +++ b/src/gui/shop.cpp @@ -44,8 +44,7 @@ std::string ShopItems::getElementAt(int i) return mShopItems.at(i)->getDisplayName(); } -void ShopItems::addItem(int inventoryIndex, int id, int quantity, - int price) +void ShopItems::addItem(int inventoryIndex, int id, int quantity, int price) { ShopItem* item = 0; if (mMergeDuplicates) |