Core/Chat: Fix a compile warning, locale is no longer used
This commit is contained in:
1 parent
bb9614d00d
commit
1c35bad513
1 file changed
-1
@@ -374,7 +374,6 @@ bool ChatHandler::ExecuteCommandInTable(ChatCommand* table, const char* text, co
|
||||
std::string zoneName = "Unknown";
|
||||
if (AreaTableEntry const* area = GetAreaEntryByAreaID(areaId))
|
||||
{
|
||||
int locale = GetSessionDbcLocale();
|
||||
areaName = area->area_name;
|
||||
if (AreaTableEntry const* zone = GetAreaEntryByAreaID(area->zone))
|
||||
zoneName = zone->area_name;
|
||||
|
||||
Reference in new issue
Block a user