From 84c82ca4ab1fb08d87e17f8e457e9aa859788cec Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Sat, 17 Jan 2015 22:12:36 -0800 Subject: [PATCH] Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead --- zone/entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/entity.cpp b/zone/entity.cpp index 3393c19a9..4dc914273 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -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)