chore(Core/AH): update auction house files after cache update (#9244)
This commit is contained in:
@@ -137,10 +137,10 @@ static bool SortAuction(AuctionEntry* left, AuctionEntry* right, AuctionSortOrde
|
|||||||
case AUCTION_SORT_OWNER:
|
case AUCTION_SORT_OWNER:
|
||||||
{
|
{
|
||||||
std::string leftName;
|
std::string leftName;
|
||||||
sObjectMgr->GetPlayerNameByGUID(left->owner.GetCounter(), leftName);
|
sCharacterCache->GetCharacterNameByGuid(left->owner, leftName);
|
||||||
|
|
||||||
std::string rightName;
|
std::string rightName;
|
||||||
sObjectMgr->GetPlayerNameByGUID(right->owner.GetCounter(), rightName);
|
sCharacterCache->GetCharacterNameByGuid(right->owner, rightName);
|
||||||
|
|
||||||
int result = leftName.compare(rightName);
|
int result = leftName.compare(rightName);
|
||||||
if (result == 0)
|
if (result == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user