diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-18 00:51:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-18 00:52:29 +0300 |
commit | b3cf7bd2daeb46a613611e8a5d3f47736b5780e9 (patch) | |
tree | c20e69c4ad52540572f5b597d292e853fb78e307 /src/gui/windows/tradewindow.cpp | |
parent | b73e51c8993c6e2eef7a28a79ea79b7a6d61783d (diff) | |
download | manaverse-b3cf7bd2daeb46a613611e8a5d3f47736b5780e9.tar.gz manaverse-b3cf7bd2daeb46a613611e8a5d3f47736b5780e9.tar.bz2 manaverse-b3cf7bd2daeb46a613611e8a5d3f47736b5780e9.tar.xz manaverse-b3cf7bd2daeb46a613611e8a5d3f47736b5780e9.zip |
Remove default parameter from inventory.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index bd8ba020f..be67e2432 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -77,8 +77,8 @@ TradeWindow::TradeWindow() : Window(_("Trade: You"), Modal_false, nullptr, "trade.xml"), ActionListener(), SelectionListener(), - mMyInventory(new Inventory(InventoryType::Trade)), - mPartnerInventory(new Inventory(InventoryType::Trade)), + mMyInventory(new Inventory(InventoryType::Trade, -1)), + mPartnerInventory(new Inventory(InventoryType::Trade, -1)), mMyItemContainer(new ItemContainer(this, mMyInventory)), mPartnerItemContainer(new ItemContainer(this, mPartnerInventory)), // TRANSLATORS: trade window money label |