-updated all DBC formats, except spell* ones
-added dbc.zip (all 4.2.2 files + 3.3.5 spells) -hardcoded map 0's entry for mapdifficulty (dbc has no data for it)
This commit is contained in:
@@ -6712,7 +6712,7 @@ std::string ObjectMgr::GeneratePetName(uint32 entry)
|
||||
if (list0.empty() || list1.empty())
|
||||
{
|
||||
CreatureTemplate const* cinfo = GetCreatureTemplate(entry);
|
||||
char* petname = GetPetName(cinfo->family, sWorld->GetDefaultDbcLocale());
|
||||
const char* petname = GetPetName(cinfo->family, sWorld->GetDefaultDbcLocale());
|
||||
if (!petname)
|
||||
return cinfo->Name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user