mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user