Missing part

This commit is contained in:
Aokromes
2017-04-18 17:33:37 +02:00
parent 9bd0fbb718
commit 7c16e39bd5
13 changed files with 27 additions and 27 deletions

View File

@@ -346,14 +346,14 @@ public:
// ... than, it prints information like "is online", where he is, etc...
onlineState = "online";
phase = (!p->IsGameMaster() ? p->GetPhaseMask() : -1);
uint32 locale = handler->GetSessionDbcLocale();
LocaleConstant localeConstant = handler->GetSessionDbcLocale();
AreaTableEntry const* area = sAreaTableStore.LookupEntry(p->GetAreaId());
if (area)
{
AreaTableEntry const* zone = sAreaTableStore.LookupEntry(area->zone);
if (zone)
zoneName = zone->area_name[locale];
zoneName = zone->area_name[localeConstant];
}
}
else