Only send LANG_NOT_ENOUGH_GOLD notification during trade if the trader does not have enough money...
Thanks 0xFuture. Fixes issue #3587 Update THANKS file... --HG-- branch : trunk
This commit is contained in:
@@ -65,4 +65,4 @@ Malcrom, Vladmim
|
||||
bkhorizon, n0n4m3, Chesterfield, Frankir, Wowka321, Morpheux, p0wer,
|
||||
Ouden, toshik, laise, yavi, Splinter, Syntec, Arthas, denyde, unholy,
|
||||
Vaughner, blackmanos, edrinn, Supabad, click, silverice, SupaBad, Xanadu,
|
||||
Socolin, Toni.Shocker
|
||||
Socolin, Toni.Shocker, Silinoron, 0xFuture, xK1
|
||||
|
||||
@@ -281,7 +281,7 @@ void WorldSession::HandleAcceptTradeOpcode(WorldPacket& /*recvPacket*/)
|
||||
}
|
||||
|
||||
// not accept case incorrect money amount
|
||||
if (trader->HasEnoughMoney(his_trade->GetMoney()))
|
||||
if (!trader->HasEnoughMoney(his_trade->GetMoney()))
|
||||
{
|
||||
trader->GetSession()->SendNotification(LANG_NOT_ENOUGH_GOLD);
|
||||
his_trade->SetAccepted(false, true);
|
||||
|
||||
Reference in New Issue
Block a user