diff options
Diffstat (limited to 'src/game/Pet.cpp')
| -rw-r--r-- | src/game/Pet.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp index b2bc134a2c0..cf489a0b8e1 100644 --- a/src/game/Pet.cpp +++ b/src/game/Pet.cpp @@ -1748,3 +1748,10 @@ void Pet::CastPetAura(PetAura const* aura) CastSpell(this, auraId, true); } +void Pet::learnSpellHighRank(uint32 spellid) +{ + learnSpell(spellid,false); + + if(uint32 next = spellmgr.GetNextSpellInChain(spellid)) + learnSpellHighRank(next); +} |
