Why was we getting the player within 40f?, 12f is probly still a little to much but it works.

This commit is contained in:
lee1991
2017-02-15 20:03:15 +00:00
parent afac94ee1d
commit 7408b67629

View File

@@ -446,7 +446,7 @@ public:
if (!who || !who->IsInWorld() || who->GetZoneId() != 4395)
return;
if (!me->IsWithinDist(who, 40.0f, false))
if (!me->IsWithinDist(who, 12.0f, false))
return;
Player* player = who->GetCharmerOrOwnerPlayerOrPlayerItself();