summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 04:15:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 04:15:07 +0300
commitd10950aba8576a48314f05632935c38f99066591 (patch)
treeab2cf621f26a1019d1b9a0c946bf026a8b33d273 /src/gui/windows/tradewindow.cpp
parentf9dece33c858e7e8eee2b65c1ca0f920677fdce3 (diff)
downloadmanaverse-d10950aba8576a48314f05632935c38f99066591.tar.gz
manaverse-d10950aba8576a48314f05632935c38f99066591.tar.bz2
manaverse-d10950aba8576a48314f05632935c38f99066591.tar.xz
manaverse-d10950aba8576a48314f05632935c38f99066591.zip
Remove default parameter from tradewindow.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-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 be67e2432..d6b39e8f1 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -497,7 +497,7 @@ void TradeWindow::initTrade(const std::string &nick)
const Item *const item = inv->findItem(mAutoAddItem->getId(),
mAutoAddItem->getColor());
if (item != nullptr)
- tradeItem(item, mAutoAddAmount);
+ tradeItem(item, mAutoAddAmount, false);
}
}
if (mAutoMoney != 0)