aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-28 13:10:16 -0600
committermegamage <none@none>2008-11-28 13:10:16 -0600
commit93ba82e8ca62809ba048218ff8bca2f36d069962 (patch)
tree39cb5ea3b2b9db0b6010f2c6ca9ec67d82bccfbc /src/game/Pet.cpp
parentfb2c984b03ebe0b0595071a689d79f5d7b4dab9e (diff)
parentb37d7ae04232fc9279e505926468c91f9e26a991 (diff)
*Merge with 342.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-rw-r--r--src/game/Pet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index a36020520ab..7bd5daac551 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -1015,7 +1015,7 @@ bool Pet::InitStatsForLevel(uint32 petlevel)
SetFloatValue(UNIT_MOD_CAST_SPEED, 1.0);
CreatureFamilyEntry const* cFamily = sCreatureFamilyStore.LookupEntry(cinfo->family);
- if(cFamily && cFamily->minScale > 0.0f)
+ if(cFamily && cFamily->minScale > 0.0f && getPetType()==HUNTER_PET)
{
float scale;
if (getLevel() >= cFamily->maxScaleLevel)