mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Removed a usage of Mob::DistNoRootNoZ and used ComparativeDistanceNoZ instead
This commit is contained in:
parent
ae4e1ef0d0
commit
97d7d69623
@ -622,7 +622,7 @@ void Client::AI_SpellCast()
|
|||||||
if(!targ)
|
if(!targ)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
float dist = DistNoRootNoZ(*targ);
|
float dist = ComparativeDistanceNoZ(m_Position, targ->GetPosition());
|
||||||
|
|
||||||
std::vector<uint32> valid_spells;
|
std::vector<uint32> valid_spells;
|
||||||
std::vector<uint32> slots;
|
std::vector<uint32> slots;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user