mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[10952] Don't use singleton to access static functions.
This commit is contained in:
parent
32649abe6b
commit
a0e298179c
9 changed files with 13 additions and 13 deletions
|
|
@ -4118,7 +4118,7 @@ void Spell::EffectSummonType(SpellEffectIndex eff_idx)
|
|||
else
|
||||
{
|
||||
// possible sort totems/guardians only by summon creature type
|
||||
CreatureInfo const* cInfo = sObjectMgr.GetCreatureTemplate(m_spellInfo->EffectMiscValue[eff_idx]);
|
||||
CreatureInfo const* cInfo = ObjectMgr::GetCreatureTemplate(m_spellInfo->EffectMiscValue[eff_idx]);
|
||||
|
||||
if (!cInfo)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue