diff options
author | Kinzcool <kinzzcool@hotmail.com> | 2015-05-08 22:48:30 -0400 |
---|---|---|
committer | Kinzcool <kinzzcool@hotmail.com> | 2015-05-08 22:48:30 -0400 |
commit | 00cfe8f5a94b208be96537ffaf11162a3acf464b (patch) | |
tree | 1e5989951731d511d8b924224197e0611b857e4b /src/server/game/Chat/Chat.cpp | |
parent | f345ee04eef83fc11595e2007cb0bf4c7fcfef1a (diff) |
Core/Misc: Fixed wrong references to ZoneName instead of using AreaName_lang
Diffstat (limited to 'src/server/game/Chat/Chat.cpp')
-rw-r--r-- | src/server/game/Chat/Chat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp index 837ff0be60f..c7952d7758c 100644 --- a/src/server/game/Chat/Chat.cpp +++ b/src/server/game/Chat/Chat.cpp @@ -321,9 +321,9 @@ bool ChatHandler::ExecuteCommandInTable(ChatCommand* table, const char* text, st std::string zoneName = "Unknown"; if (AreaTableEntry const* area = GetAreaEntryByAreaID(areaId)) { - areaName = area->ZoneName; + areaName = area->AreaName_lang; if (AreaTableEntry const* zone = GetAreaEntryByAreaID(area->ParentAreaID)) - zoneName = zone->ZoneName; + zoneName = zone->AreaName_lang; } sLog->outCommand(m_session->GetAccountId(), "Command: %s [Player: %s (%s) (Account: %u) X: %f Y: %f Z: %f Map: %u (%s) Area: %u (%s) Zone: %s Selected: %s (%s)]", |