summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-28 22:54:16 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-28 22:54:16 +0300
commit52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683 (patch)
treecdf499309b3ffca8b66fd72ce5f86cb28c322be0
parent462867b1d99cf63a27566449cbf8f0feda7f1ec6 (diff)
downloadplus-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.tar.gz
plus-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.tar.bz2
plus-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.tar.xz
plus-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.zip
fix items amount in trade in selling to personal shop.
-rw-r--r--src/gui/windows/tradewindow.cpp2
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)