aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-28 11:38:28 -0600
committermegamage <none@none>2008-11-28 11:38:28 -0600
commite26beb36c2073bb35151aa0cfee7e95f1b5a3901 (patch)
tree0adc111c86d8a75c406889c231a3b6922ff9933c /src/game/Pet.cpp
parent1d6e33add4f41ba07d5bd9115b1fe8c52ebb6d21 (diff)
*Update to Mangos 6856. Source: Mangos.
--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 65d5fd73199..3ab892fd2fb 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)