[10046] Store guids instead slot data for trade items.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
zergtmn 2010-06-08 20:46:28 +04:00 committed by VladimirMangos
parent e1766a3adb
commit 6986ecbd9b
5 changed files with 73 additions and 83 deletions

View file

@ -11994,7 +11994,7 @@ void Player::ClearTrade()
tradeGold = 0;
acceptTrade = false;
for(int i = 0; i < TRADE_SLOT_COUNT; ++i)
tradeItems[i] = NULL_SLOT;
m_tradeItems[i].Clear();
}
void Player::TradeCancel(bool sendback)