Futher pet spell work

This commit is contained in:
tomrus88 2008-11-06 13:22:43 +03:00
parent cdd1f4e098
commit ca8180ecd1
5 changed files with 19 additions and 27 deletions

View file

@ -1970,7 +1970,6 @@ void SpellMgr::LoadSpellPetAuras()
void SpellMgr::LoadPetLevelupSpellMap()
{
PetLevelupSpell petSpell;
CreatureFamilyEntry const *creatureFamily;
SpellEntry const *spell;
uint32 count = 0;
@ -2140,10 +2139,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
}
}
petSpell.SpellId = spell->Id;
petSpell.ReqLevel = spell->spellLevel;
mPetLevelupSpellMap[creatureFamily->ID].push_back(petSpell);
mPetLevelupSpellMap[creatureFamily->ID][spell->spellLevel] = spell->Id;
count++;
}
}