summaryrefslogtreecommitdiff
path: root/src/net/tmwa/traderecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-21 04:44:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-21 20:37:02 +0300
commit862e8f821789014b6167f37976b80694d6d310e3 (patch)
tree7c4d77a370f4da3d84a649b0d10e4d0a05725e6a /src/net/tmwa/traderecv.cpp
parent62fa051ace7097e78134d46505070a70c08e128f (diff)
downloadplus-862e8f821789014b6167f37976b80694d6d310e3.tar.gz
plus-862e8f821789014b6167f37976b80694d6d310e3.tar.bz2
plus-862e8f821789014b6167f37976b80694d6d310e3.tar.xz
plus-862e8f821789014b6167f37976b80694d6d310e3.zip
Add item options into item and get it from server.
Diffstat (limited to 'src/net/tmwa/traderecv.cpp')
-rw-r--r--src/net/tmwa/traderecv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwa/traderecv.cpp b/src/net/tmwa/traderecv.cpp
index a737845fe..a8233ef50 100644
--- a/src/net/tmwa/traderecv.cpp
+++ b/src/net/tmwa/traderecv.cpp
@@ -79,6 +79,7 @@ void TradeRecv::processTradeItemAdd(Net::MessageIn &msg)
tradeWindow->addItem2(type,
ItemType::Unknown,
cards,
+ nullptr,
4,
false,
amount,
@@ -118,6 +119,7 @@ void TradeRecv::processTradeItemAddResponse(Net::MessageIn &msg)
tradeWindow->addItem2(item->getId(),
item->getType(),
item->getCards(),
+ nullptr,
4,
true,
quantity,