From 76afc1119902bb710e9e8914b9113a96d3c5e575 Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Sat, 17 Jan 2015 16:12:30 -0800 Subject: [PATCH] Overloads of xyz_heading means no longer need the static cast here --- zone/client_packet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 61a09094f..332a1cc98 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -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(m_Position), static_cast(assistee->GetPosition())) <= TARGETING_RANGE)) { + Distance(m_Position, assistee->GetPosition()) <= TARGETING_RANGE)) { SetAssistExemption(true); eid->entity_id = new_target->GetID(); }