Core/Datastores: use generated member names for MapEntry fields
* load all dbc fields of MapEntry
This commit is contained in:
1 parent
36bd27e347
commit
1e4cc2293a
25 files changed
+120
-111
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user