diff options
author | QAston <none@none> | 2009-04-19 17:29:17 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-04-19 17:29:17 +0200 |
commit | a23df5a270cd47ea3b4f433699b484c6c61a27e6 (patch) | |
tree | d243c0797d4a5f2ea50d7c9537f0c542c761e129 /src | |
parent | cfabdd2fd265b38b8771fd870334dcc9b64a0c8a (diff) |
*Fix compile.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 2 | ||||
-rw-r--r-- | src/game/SpellMgr.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index a5b2a429e27..a619d14ff06 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index f21d8575b03..57da4116275 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -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) |