Missing part

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

No files matched your search

+2 -2
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