*Use buyout to buy an auction when the last bid is close to the buyout price. By Paradox.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-01 10:49:54 -06:00
parent 65db262e95
commit d963119433
+1 -1
View File
@@ -367,7 +367,7 @@ void WorldSession::HandleAuctionPlaceBid( WorldPacket & recv_data )
return;
}
if (price < (auction->bid + objmgr.GetAuctionOutBid(auction->bid)))
if ((price < (auction->bid + objmgr.GetAuctionOutBid(auction->bid))) && ((price < auction->buyout) || (auction->buyout == 0)))
{
//auction has already higher bid, client tests it!
//SendAuctionCommandResult(auction->auctionId, AUCTION_PLACE_BID, ???);