mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Eye of Zomm needed support in OP_ClientUpdate.
This commit is contained in:
@@ -727,7 +727,8 @@ void MobMovementManager::SendCommandToClients(
|
||||
float delta_heading,
|
||||
int anim,
|
||||
ClientRange range,
|
||||
Client* single_client
|
||||
Client* single_client,
|
||||
Client* ignore_client
|
||||
)
|
||||
{
|
||||
if (range == ClientRangeNone) {
|
||||
@@ -745,6 +746,10 @@ void MobMovementManager::SendCommandToClients(
|
||||
continue;
|
||||
}
|
||||
|
||||
if (ignore_client && c == ignore_client) {
|
||||
continue;
|
||||
}
|
||||
|
||||
_impl->Stats.TotalSent++;
|
||||
|
||||
if (anim != 0) {
|
||||
@@ -769,6 +774,10 @@ void MobMovementManager::SendCommandToClients(
|
||||
continue;
|
||||
}
|
||||
|
||||
if (ignore_client && c == ignore_client) {
|
||||
continue;
|
||||
}
|
||||
|
||||
float distance = c->CalculateDistance(mob->GetX(), mob->GetY(), mob->GetZ());
|
||||
|
||||
bool match = false;
|
||||
|
||||
Reference in New Issue
Block a user