Core/Datastores: use generated member names for MapEntry fields

* load all dbc fields of MapEntry
This commit is contained in:
Ovahlord committed 2019-02-24 00:14:44 +01:00
1 parent 36bd27e347
commit 1e4cc2293a
25 files changed
+120 -111

No files matched your search

+2 -2
View File
@@ -1129,7 +1129,7 @@ public:
{
if (MapEntry const* mapInfo = sMapStore.LookupEntry(id))
{
std::string name = mapInfo->name;
std::string name = mapInfo->Name;
if (name.empty())
continue;
@@ -1147,7 +1147,7 @@ public:
if (mapInfo->IsContinent())
ss << handler->GetTrinityString(LANG_CONTINENT);
switch (mapInfo->map_type)
switch (mapInfo->MapType)
{
case MAP_INSTANCE:
ss << handler->GetTrinityString(LANG_INSTANCE);