Core/Spells: Renamed EnsureSpellInfo to AssertSpellInfo to minimize differences between branches
This commit is contained in:
1 parent
eaf9d524e8
commit
3f0c7f6b2f
21 files changed
+32
-32
No files matched your search
@@ -717,7 +717,7 @@ class spell_hun_readiness : public SpellScriptLoader
|
||||
// immediately finishes the cooldown on your other Hunter abilities except Bestial Wrath
|
||||
GetCaster()->GetSpellHistory()->ResetCooldowns([](SpellHistory::CooldownStorageType::iterator itr) -> bool
|
||||
{
|
||||
SpellInfo const* spellInfo = sSpellMgr->EnsureSpellInfo(itr->first);
|
||||
SpellInfo const* spellInfo = sSpellMgr->AssertSpellInfo(itr->first);
|
||||
|
||||
///! If spellId in cooldown map isn't valid, the above will return a null pointer.
|
||||
if (spellInfo->SpellFamilyName == SPELLFAMILY_HUNTER &&
|
||||
|
||||
Reference in new issue
Block a user