mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
This commit is contained in:
parent
91221db4c9
commit
84c82ca4ab
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user