aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-01 23:45:00 -0500
committermegamage <none@none>2009-06-01 23:45:00 -0500
commitd0878ec4143147bb03973b23f1519222e1636d97 (patch)
treef74fce72f176afcd5583c8a597b8ecbe1c69765c /src/game/Pet.cpp
parent670a901fe121f00f24426d1af46c0cedbb9d490f (diff)
*Fix the bug that shaman/druid/mage pets do not have scaled stats
--HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index c204717668f..ae8d46eda19 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -47,6 +47,8 @@ m_resetTalentsCost(0), m_resetTalentsTime(0), m_usedTalentCount(0), m_auraRaidUp
m_declinedname(NULL), m_owner(owner)
{
m_summonMask |= SUMMON_MASK_PET;
+ if(type == HUNTER_PET)
+ m_summonMask |= SUMMON_MASK_HUNTER_PET;
m_name = "Pet";
m_regenTimer = 4000;