Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas
This commit is contained in:
1 parent
4e67618e5f
commit
8acfadc779
9 files changed
+29
-18
No files matched your search
@@ -27068,8 +27068,9 @@ std::string Player::GetMapAreaAndZoneString() const
|
||||
{
|
||||
int locale = GetSession()->GetSessionDbcLocale();
|
||||
areaName = area->AreaName[locale];
|
||||
if (AreaTableEntry const* zone = sAreaTableStore.LookupEntry(area->ParentAreaID))
|
||||
zoneName = zone->AreaName[locale];
|
||||
if (area->GetFlags().HasFlag(AreaFlags::IsSubzone))
|
||||
if (AreaTableEntry const* zone = sAreaTableStore.LookupEntry(area->ParentAreaID))
|
||||
zoneName = zone->AreaName[GetSession()->GetSessionDbcLocale()];
|
||||
}
|
||||
|
||||
std::ostringstream str;
|
||||
|
||||
Reference in new issue
Block a user