Merge branch 'master' into 303

This commit is contained in:
tomrus88 2008-11-27 07:19:12 +03:00
commit ed77adf964
3 changed files with 13 additions and 4 deletions

View file

@ -810,7 +810,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)