aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp2
-rw-r--r--src/game/SpellMgr.cpp2
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)