diff options
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r-- | src/game/SpellMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index d130d58f9fd..f21d8575b03 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2533,8 +2533,8 @@ void SpellMgr::LoadPetLevelupSpellMap() if (creatureFamily->skillLine[j]!=skillLine->skillId) continue; SpellEntry const *spell = sSpellStore.LookupEntry(skillLine->spellId); - // not exist - if(!spell) + // not exist or passive (passives are handled elsewhere) + if(!spell || IsPassiveSpell(spell)) continue; // Make sure that triggered spells aren't learned if (!spell->SpellFamilyName && !spell->StartRecoveryCategory) |