Core/ObjectMgr: Some minor changes in LocaleString functions
This commit is contained in:
@@ -602,7 +602,7 @@ void AuctionHouseObject::BuildListAuctionItems(WorldPacket& data, Player* player
|
||||
// local name
|
||||
if (loc_idx >= 0)
|
||||
if (ItemLocale const *il = sObjectMgr->GetItemLocale(proto->ItemId))
|
||||
sObjectMgr->GetLocaleString(il->Name, loc_idx, name);
|
||||
ObjectMgr::GetLocaleString(il->Name, loc_idx, name);
|
||||
|
||||
// DO NOT use GetItemEnchantMod(proto->RandomProperty) as it may return a result
|
||||
// that matches the search but it may not equal item->GetItemRandomPropertyId()
|
||||
|
||||
Reference in New Issue
Block a user