*Fix compile.
--HG-- branch : trunk
This commit is contained in:
@@ -3495,7 +3495,7 @@ void AuraEffect::HandleAuraModPetTalentsPoints(bool Apply, bool Real)
|
|||||||
|
|
||||||
// Recalculate pet tlaent points
|
// Recalculate pet tlaent points
|
||||||
if (Pet *pet = ((Player*)m_target)->GetPet())
|
if (Pet *pet = ((Player*)m_target)->GetPet())
|
||||||
pet->InitTalentForLevel();
|
pet->InitTalentForLevel();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*void AuraEffect::HandleModCharm(bool apply, bool Real)
|
/*void AuraEffect::HandleModCharm(bool apply, bool Real)
|
||||||
|
|||||||
@@ -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