summaryrefslogtreecommitdiff
path: root/src/net/ea/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-04 15:19:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-04 15:19:53 +0300
commita553b3cda91aa095d88e22abcaa81701c2894334 (patch)
treecb44d56a66896fdbf4eaf9673901ee9cf3a60a73 /src/net/ea/tradehandler.cpp
parent343809fe458a08bf96fe4f537db2d81d7523632e (diff)
downloadplus-a553b3cda91aa095d88e22abcaa81701c2894334.tar.gz
plus-a553b3cda91aa095d88e22abcaa81701c2894334.tar.bz2
plus-a553b3cda91aa095d88e22abcaa81701c2894334.tar.xz
plus-a553b3cda91aa095d88e22abcaa81701c2894334.zip
move equip/unequip/use calls into playerinfo.
Diffstat (limited to 'src/net/ea/tradehandler.cpp')
-rw-r--r--src/net/ea/tradehandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index abfb56559..c4654087b 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -226,9 +226,6 @@ void TradeHandler::processTradeItemAddResponse(Net::MessageIn &msg) const
{
case 0:
// Successfully added item
- if (item->isEquipment() && item->isEquipped())
- Net::getInventoryHandler()->unequipItem(item);
-
if (tradeWindow)
{
tradeWindow->addItem2(item->getId(), true,