*Fix compile.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-04-19 17:29:17 +02:00
parent cfabdd2fd2
commit a23df5a270
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)