by ccrs
This commit is contained in:
Aokromes authored and Aokromes committed 2016-12-06 11:03:34 +01:00
1 parent 1e9b740ce5
commit b76aec422d
1 file changed
+1 -1
@@ -2608,7 +2608,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();
}
}