diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-04 15:19:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-04 15:19:53 +0300 |
commit | a553b3cda91aa095d88e22abcaa81701c2894334 (patch) | |
tree | cb44d56a66896fdbf4eaf9673901ee9cf3a60a73 /src/net | |
parent | 343809fe458a08bf96fe4f537db2d81d7523632e (diff) | |
download | plus-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')
-rw-r--r-- | src/net/ea/tradehandler.cpp | 3 |
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, |