mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-12 03:52:35 +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()) {
|
if (assistee->GetTarget()) {
|
||||||
Mob *new_target = assistee->GetTarget();
|
Mob *new_target = assistee->GetTarget();
|
||||||
if (new_target && (GetGM() ||
|
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);
|
SetAssistExemption(true);
|
||||||
eid->entity_id = new_target->GetID();
|
eid->entity_id = new_target->GetID();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user