diff options
| author | jackpoz <giacomopoz@gmail.com> | 2015-02-13 23:39:58 +0100 | 
|---|---|---|
| committer | jackpoz <giacomopoz@gmail.com> | 2015-02-13 23:39:58 +0100 | 
| commit | 2eee1b349f599f92f78c58418d128f386ef3b86d (patch) | |
| tree | de06a7e0480b5decb1ddddca55dc8f513ba6e96d /src/server/game/AuctionHouse/AuctionHouseMgr.cpp | |
| parent | 2478bbcdb8f44c575714ae2f45aeef4a37556fc2 (diff) | |
Core/AHBot: Fix AHBot bidding and correct logged AH type
Correct AuctionHouseType definition to log the right AH type.
Handle auctions without bidder but with a bid as bought by the AH Bot
Closes #14124
Diffstat (limited to 'src/server/game/AuctionHouse/AuctionHouseMgr.cpp')
| -rw-r--r-- | src/server/game/AuctionHouse/AuctionHouseMgr.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp index ac2ceb78346..e8c91479cc2 100644 --- a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp +++ b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp @@ -469,7 +469,7 @@ void AuctionHouseObject::Update()              continue;          ///- Either cancel the auction if there was no bidder -        if (auction->bidder == 0) +        if (auction->bidder == 0 && auction->bid == 0)          {              sAuctionMgr->SendAuctionExpiredMail(auction, trans);              sScriptMgr->OnAuctionExpire(this, auction);  | 
