*Fix compile.
--HG-- branch : trunk
This commit is contained in:
@@ -2534,7 +2534,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
|
|||||||
continue;
|
continue;
|
||||||
SpellEntry const *spell = sSpellStore.LookupEntry(skillLine->spellId);
|
SpellEntry const *spell = sSpellStore.LookupEntry(skillLine->spellId);
|
||||||
// not exist or passive (passives are handled elsewhere)
|
// not exist or passive (passives are handled elsewhere)
|
||||||
if(!spell || IsPassiveSpell(spell))
|
if(!spell || IsPassiveSpell(spell->Id))
|
||||||
continue;
|
continue;
|
||||||
// Make sure that triggered spells aren't learned
|
// Make sure that triggered spells aren't learned
|
||||||
if (!spell->SpellFamilyName && !spell->StartRecoveryCategory)
|
if (!spell->SpellFamilyName && !spell->StartRecoveryCategory)
|
||||||
|
|||||||
Reference in New Issue
Block a user