mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 21:02:26 +00:00
Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead
This commit is contained in:
parent
bcc4c1e4b6
commit
6b979d1c5d
@ -12351,7 +12351,7 @@ void Client::Handle_OP_ShopPlayerSell(const EQApplicationPacket *app)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
//you have to be somewhat close to them to be properly using them
|
//you have to be somewhat close to them to be properly using them
|
||||||
if (DistNoRoot(*vendor) > USE_NPC_RANGE2)
|
if (ComparativeDistance(m_Position, vendor->GetPosition()) > USE_NPC_RANGE2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
uint32 price = 0;
|
uint32 price = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user