summaryrefslogtreecommitdiff
path: root/src/gui
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 /src/gui
parent462867b1d99cf63a27566449cbf8f0feda7f1ec6 (diff)
downloadmv-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.tar.gz
mv-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.tar.bz2
mv-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.tar.xz
mv-52f82ad4439dab8e6ab67ad6aa25fb8d0c8c1683.zip
fix items amount in trade in selling to personal shop.
Diffstat (limited to 'src/gui')
-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)