diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-28 22:54:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-28 22:54:16 +0300 |
commit | 52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683 (patch) | |
tree | cdf499309b3ffca8b66fd72ce5f86cb28c322be0 /src | |
parent | 462867b1d99cf63a27566449cbf8f0feda7f1ec6 (diff) | |
download | manaverse-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.tar.gz manaverse-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.tar.bz2 manaverse-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.tar.xz manaverse-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.zip |
fix items amount in trade in selling to personal shop.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 1e25ae862..f0052e46b 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -444,7 +444,7 @@ void TradeWindow::initTrade(const std::string &nick) Item *const item = inv->findItem(mAutoAddItem->getId(), mAutoAddItem->getColor()); if (item) - tradeItem(item, mAutoAddItem->getQuantity()); + tradeItem(item, mAutoAddAmount); } } if (mAutoMoney) |