mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 14:21:37 +00:00
Removed a usage of Mob::DistNoRootNoZ and used ComparativeDistanceNoZ instead
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user