summaryrefslogtreecommitdiff
path: root/src/net/tmwa/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 14:40:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 14:40:14 +0300
commit0875a6ddfda9ece1af4a818e38be1f99e578c59a (patch)
tree7bef19d2a2f41f090be11dfe5a8af88716e7b21c /src/net/tmwa/tradehandler.cpp
parent40a60a7bb7fd3291fde0a2a689f674a8169c7b64 (diff)
downloadmv-0875a6ddfda9ece1af4a818e38be1f99e578c59a.tar.gz
mv-0875a6ddfda9ece1af4a818e38be1f99e578c59a.tar.bz2
mv-0875a6ddfda9ece1af4a818e38be1f99e578c59a.tar.xz
mv-0875a6ddfda9ece1af4a818e38be1f99e578c59a.zip
Add to item field favorite.
Diffstat (limited to 'src/net/tmwa/tradehandler.cpp')
-rw-r--r--src/net/tmwa/tradehandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index c0ced4c42..30b432d2f 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -183,12 +183,12 @@ void TradeHandler::processTradeItemAdd(Net::MessageIn &msg)
if (serverFeatures->haveItemColors())
{
tradeWindow->addItem2(type, false, amount,
- refine, identify, true, false, false);
+ refine, identify, true, false, false, false);
}
else
{
tradeWindow->addItem2(type, false, amount,
- refine, 1, identify != 0, false, false);
+ refine, 1, identify != 0, false, false, false);
}
}
}
@@ -220,7 +220,7 @@ void TradeHandler::processTradeItemAddResponse(Net::MessageIn &msg)
tradeWindow->addItem2(item->getId(), true,
quantity, item->getRefine(), item->getColor(),
item->getIdentified(), item->getDamaged(),
- item->isEquipment());
+ item->getFavorite(), item->isEquipment());
}
item->increaseQuantity(-quantity);
break;