Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-14 16:49:23 -07:00
parent b37f9b1e55
commit 140ec674a0
34 changed files with 111 additions and 147 deletions

View File

@@ -594,7 +594,7 @@ void WorldSession::HandleSetTradeItemOpcode(WorldPacket& recvPacket)
// check cheating, can't fail with correct client operations
Item* item = _player->GetItemByPos(bag,slot);
if (!item || (tradeSlot != TRADE_SLOT_NONTRADED && !item->CanBeTraded()))
if(!item || tradeSlot!=TRADE_SLOT_NONTRADED && !item->CanBeTraded())
{
SendTradeStatus(TRADE_STATUS_TRADE_CANCELED);
return;