Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead

This commit is contained in:
Arthur Ice
2015-01-17 22:12:36 -08:00
parent 91221db4c9
commit 84c82ca4ab
+1 -1
View File
@@ -3546,7 +3546,7 @@ void EntityList::RadialSetLogging(Mob *around, bool enabled, bool clients,
continue;
}
if (around->DistNoRoot(*mob) > range2)
if (ComparativeDistance(around->GetPosition(), mob->GetPosition()) > range2)
continue;
if (enabled)