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

(cherry picked from commit 2eee1b349f)

Conflicts:
	src/server/game/AuctionHouse/AuctionHouseMgr.cpp
This commit is contained in:
jackpoz
2015-02-13 23:39:58 +01:00
committed by Duarte Duarte
parent 6d27bed2e1
commit a7c8caf2ef
3 changed files with 5 additions and 5 deletions

View File

@@ -239,7 +239,7 @@ void AuctionBotConfig::GetConfigFromFile()
char const* AuctionBotConfig::GetHouseTypeName(AuctionHouseType houseType)
{
static char const* names[MAX_AUCTION_HOUSE_TYPE] = { "Alliance", "Horde", "Neutral" };
static char const* names[MAX_AUCTION_HOUSE_TYPE] = { "Neutral", "Alliance", "Horde" };
return names[houseType];
}