Core/ObjectMgr: Refactor sCreatureStorage
This commit is contained in:
@@ -1497,7 +1497,7 @@ Creature* Battleground::AddCreature(uint32 entry, uint32 type, uint32 teamval, f
|
||||
|
||||
pCreature->SetHomePosition(x, y, z, o);
|
||||
|
||||
CreatureInfo const *cinfo = ObjectMgr::GetCreatureTemplate(entry);
|
||||
CreatureTemplate const *cinfo = sObjectMgr->GetCreatureTemplate(entry);
|
||||
if (!cinfo)
|
||||
{
|
||||
sLog->outError("Battleground::AddCreature: creature template (entry: %u) does not exist for BG (map: %u, instance id: %u)!",
|
||||
|
||||
Reference in New Issue
Block a user