diff options
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r-- | src/game/SpellMgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index df5fa14541b..b00e9c95649 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2536,7 +2536,8 @@ void SpellMgr::LoadPetLevelupSpellMap() // not exist or triggered or talent if(!spell || !spell->spellLevel || GetTalentSpellPos(spell->Id)) continue; - if (!spell->SpellFamilyFlags && spell->SpellIconID!=2310 && (!spell->RecoveryTime || !spell->StartRecoveryCategory)) + // TODO: some spells have no spellfamilyflag but should be learned + if (!spell->SpellFamilyFlags) continue; mPetLevelupSpellMap.insert(PetLevelupSpellMap::value_type(creatureFamily->ID, std::make_pair(spell->spellLevel , spell->Id ))); count++; |