mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-30 09:22:24 +00:00
Merge pull request #772 from fryguy503/target-assist-exploit
/assist exploit fix
This commit is contained in:
commit
0a42b45c67
@ -2950,7 +2950,11 @@ void Client::Handle_OP_Assist(const EQApplicationPacket *app)
|
|||||||
Distance(m_Position, 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();
|
||||||
|
} else {
|
||||||
|
eid->entity_id = 0;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
eid->entity_id = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user