mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-08 22:03:35 +00:00
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
This commit is contained in:
1 parent
6b3099daac
commit
926cba2cdc
1 file changed
+1
-1
@@ -9414,7 +9414,7 @@ void Client::Handle_OP_MercenaryDataRequest(const EQApplicationPacket *app)
|
||||
int mercTypeCount = 0;
|
||||
int mercCount = 0;
|
||||
|
||||
if (DistNoRoot(*tar) > USE_NPC_RANGE2)
|
||||
if (ComparativeDistance(m_Position, tar->GetPosition()) > USE_NPC_RANGE2)
|
||||
return;
|
||||
|
||||
if (tar->GetClass() != MERCERNARY_MASTER) {
|
||||
|
||||
Reference in new issue
Block a user