diff options
| author | megamage <none@none> | 2008-12-01 10:49:54 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-12-01 10:49:54 -0600 |
| commit | d963119433ac732923427362cd2f8c35ccd63eaf (patch) | |
| tree | fbd437ce582451786d3422a54f139e656c4807c7 /src | |
| parent | 65db262e9535652af1b0877995f4e4f7d538c04f (diff) | |
*Use buyout to buy an auction when the last bid is close to the buyout price. By Paradox.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/AuctionHouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/AuctionHouse.cpp b/src/game/AuctionHouse.cpp index b1420f680c2..8a2ce27d24d 100644 --- a/src/game/AuctionHouse.cpp +++ b/src/game/AuctionHouse.cpp @@ -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, ???); |
