*Fix Blessing of Sanctuary

--HG--
branch : trunk
This commit is contained in:
QAston
2009-04-29 20:33:49 +02:00
parent 40ba1b7030
commit 3e45bb2bfb
4 changed files with 81 additions and 2 deletions

View File

@@ -2557,7 +2557,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
if(!spell || !spell->spellLevel || GetTalentSpellPos(spell->Id))
continue;
// TODO: some spells have no spellfamilyflag but should be learned
if (!spell->SpellFamilyFlags)
if (!spell->SpellFamilyName)
continue;
mPetLevelupSpellMap.insert(PetLevelupSpellMap::value_type(creatureFamily->ID, std::make_pair(spell->spellLevel , spell->Id )));
count++;