by ccrs
This commit is contained in:
Aokromes
2016-11-28 01:30:34 +01:00
committed by GitHub
parent 2d1ef6b5b0
commit b049caf62f

View File

@@ -2589,7 +2589,7 @@ float Creature::GetPetChaseDistance() const
{
if (spellInfo->GetRecoveryTime() == 0 && // No cooldown
spellInfo->RangeEntry->ID != 1 /*Self*/ && spellInfo->RangeEntry->ID != 2 /*Combat Range*/ &&
spellInfo->GetMaxRange() > range)
spellInfo->GetMinRange() > range)
range = spellInfo->GetMinRange();
}
}