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
This commit is contained in:
1 parent
2478bbcdb8
commit
2eee1b349f
3 files changed
+5
-5
No files matched your search
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user