Moved Assisting Exemption check up

This is just so assisting to a client will clear the flag
This commit is contained in:
Michael Cook (mackal) 2014-01-22 01:41:26 -05:00
parent a55c095d1b
commit bb793e5582

View File

@ -1526,6 +1526,12 @@ void Client::Handle_OP_TargetCommand(const EQApplicationPacket *app)
GetTarget()->IsTargeted(1);
return;
}
else if(IsAssistExempted())
{
GetTarget()->IsTargeted(1);
SetAssistExemption(false);
return;
}
else if(GetTarget()->IsClient())
{
//make sure this client is in our raid/group
@ -1554,12 +1560,6 @@ void Client::Handle_OP_TargetCommand(const EQApplicationPacket *app)
SetSenseExemption(false);
return;
}
else if(IsAssistExempted())
{
GetTarget()->IsTargeted(1);
SetAssistExemption(false);
return;
}
else if(GetBindSightTarget())
{
if(GetBindSightTarget()->DistNoRoot(*GetTarget()) > (zone->newzone_data.maxclip*zone->newzone_data.maxclip))