Core/Spells: Renamed EnsureSpellInfo to AssertSpellInfo to minimize differences between branches

This commit is contained in:
Aokromes committed 2016-07-19 12:02:52 +02:00
1 parent eaf9d524e8
commit 3f0c7f6b2f
21 files changed
+32 -32

No files matched your search

@@ -859,7 +859,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
if (!IsSpellValid(e, e.action.cast.spell))
return false;
SpellInfo const* spellInfo = sSpellMgr->EnsureSpellInfo(e.action.cast.spell);
SpellInfo const* spellInfo = sSpellMgr->AssertSpellInfo(e.action.cast.spell);
for (uint32 j = 0; j < MAX_SPELL_EFFECTS; ++j)
{
if (spellInfo->Effects[j].IsEffect(SPELL_EFFECT_KILL_CREDIT) || spellInfo->Effects[j].IsEffect(SPELL_EFFECT_KILL_CREDIT2))