*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
|
||||
if (Pet *pet = ((Player*)m_target)->GetPet())
|
||||
pet->InitTalentForLevel();
|
||||
pet->InitTalentForLevel();
|
||||
}
|
||||
|
||||
/*void AuraEffect::HandleModCharm(bool apply, bool Real)
|
||||
|
||||
@@ -2534,7 +2534,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
|
||||
continue;
|
||||
SpellEntry const *spell = sSpellStore.LookupEntry(skillLine->spellId);
|
||||
// not exist or passive (passives are handled elsewhere)
|
||||
if(!spell || IsPassiveSpell(spell))
|
||||
if(!spell || IsPassiveSpell(spell->Id))
|
||||
continue;
|
||||
// Make sure that triggered spells aren't learned
|
||||
if (!spell->SpellFamilyName && !spell->StartRecoveryCategory)
|
||||
|
||||
Reference in New Issue
Block a user