mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-10 17:33:51 +00:00
Overloads of xyz_heading means no longer need the static cast here
This commit is contained in:
parent
a135a3d597
commit
76afc11199
@ -3025,7 +3025,7 @@ void Client::Handle_OP_Assist(const EQApplicationPacket *app)
|
||||
if (assistee->GetTarget()) {
|
||||
Mob *new_target = assistee->GetTarget();
|
||||
if (new_target && (GetGM() ||
|
||||
Distance(static_cast<xyz_location>(m_Position), static_cast<xyz_location>(assistee->GetPosition())) <= TARGETING_RANGE)) {
|
||||
Distance(m_Position, assistee->GetPosition()) <= TARGETING_RANGE)) {
|
||||
SetAssistExemption(true);
|
||||
eid->entity_id = new_target->GetID();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user