summaryrefslogtreecommitdiff
path: root/src/gui/buy.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-13 20:40:16 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-13 20:40:16 +0000
commitd3e938c478570be44c497607262fe8ca7145b171 (patch)
tree24f0e39e7f46d0ce17ba3f135137f8c7b024a2cf /src/gui/buy.cpp
parent0bc585c7299ed1c9bccfaf0aa6b2cc7c4327d1ca (diff)
downloadmana-client-d3e938c478570be44c497607262fe8ca7145b171.tar.gz
mana-client-d3e938c478570be44c497607262fe8ca7145b171.tar.bz2
mana-client-d3e938c478570be44c497607262fe8ca7145b171.tar.xz
mana-client-d3e938c478570be44c497607262fe8ca7145b171.zip
Started conversion of buy/sell to new server.
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r--src/gui/buy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp
index 2a8616f8..9ac37e96 100644
--- a/src/gui/buy.cpp
+++ b/src/gui/buy.cpp
@@ -128,9 +128,9 @@ void BuyDialog::reset()
updateButtonsAndLabels();
}
-void BuyDialog::addItem(short id, int price)
+void BuyDialog::addItem(int id, int amount, int price)
{
- mShopItems->addItem(id, price);
+ mShopItems->addItem(id, amount, price);
mShopItemList->adjustSize();
}