Conditions/DisableMgr: converted from singleton to namespace with free functions.
This commit is contained in:
1 parent
c4c9165428
commit
45af1238cf
13 files changed
+54
-66
No files matched your search
@@ -2903,7 +2903,7 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect const* triggered
|
||||
return;
|
||||
}
|
||||
|
||||
if (sDisableMgr->IsDisabledFor(DISABLE_TYPE_SPELL, m_spellInfo->Id, m_caster))
|
||||
if (DisableMgr::IsDisabledFor(DISABLE_TYPE_SPELL, m_spellInfo->Id, m_caster))
|
||||
{
|
||||
SendCastResult(SPELL_FAILED_SPELL_UNAVAILABLE);
|
||||
finish(false);
|
||||
|
||||
Reference in new issue
Block a user