Merge pull request #772 from fryguy503/target-assist-exploit

/assist exploit fix
This commit is contained in:
Chris Miles 2018-09-03 17:00:00 -05:00 committed by GitHub
commit 0a42b45c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2950,7 +2950,11 @@ void Client::Handle_OP_Assist(const EQApplicationPacket *app)
Distance(m_Position, assistee->GetPosition()) <= TARGETING_RANGE)) {
SetAssistExemption(true);
eid->entity_id = new_target->GetID();
} else {
eid->entity_id = 0;
}
} else {
eid->entity_id = 0;
}
}