[12175] Fix trade.

TODO: operate with 64-bit money amount

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
This commit is contained in:
Yaki Khadafi 2012-09-03 15:11:24 +03:00 committed by Antz
parent fc28fef1c1
commit c166741bad
7 changed files with 157 additions and 108 deletions

View file

@ -350,7 +350,7 @@ void TradeData::SetSpell(uint32 spell_id, Item* castItem /*= NULL*/)
Update(false); // send spell info to caster self
}
void TradeData::SetMoney(uint32 money)
void TradeData::SetMoney(uint64 money)
{
if (m_money == money)
return;