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
@@ -608,7 +608,7 @@ class spell_rog_preparation : public SpellScriptLoader
|
||||
Unit* caster = GetCaster();
|
||||
caster->GetSpellHistory()->ResetCooldowns([caster](SpellHistory::CooldownStorageType::iterator itr) -> bool
|
||||
{
|
||||
SpellInfo const* spellInfo = sSpellMgr->EnsureSpellInfo(itr->first);
|
||||
SpellInfo const* spellInfo = sSpellMgr->AssertSpellInfo(itr->first);
|
||||
if (spellInfo->SpellFamilyName != SPELLFAMILY_ROGUE)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user