aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index ae8d46eda19..fd71d2088b3 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -767,7 +767,10 @@ bool Guardian::InitStatsForLevel(uint32 petlevel)
if(m_owner->getClass() == CLASS_WARLOCK)
petType = SUMMON_PET;
else if(m_owner->getClass() == CLASS_HUNTER)
+ {
petType = HUNTER_PET;
+ m_summonMask |= SUMMON_MASK_HUNTER_PET;
+ }
else
sLog.outError("Unknown type pet %u is summoned by player class %u", GetEntry(), m_owner->getClass());
}