Core/ObjectMgr: Static members are no longer accessed through singleton
--HG-- branch : trunk
This commit is contained in:
1 parent
446c300505
commit
7b4e1c6387
43 files changed
+123
-128
No files matched your search
@@ -212,7 +212,7 @@ public:
|
||||
}
|
||||
else if (creature > 0)
|
||||
{
|
||||
if (CreatureInfo const* cInfo = sObjectMgr.GetCreatureTemplate(creature))
|
||||
if (CreatureInfo const* cInfo = ObjectMgr::GetCreatureTemplate(creature))
|
||||
for (uint16 z = 0; z < creaturecount; ++z)
|
||||
player->KilledMonster(cInfo,0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user