mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Don't send update to self while in group
This commit is contained in:
parent
ce3d3153d8
commit
78b0c86442
@ -13161,7 +13161,11 @@ void Client::BroadcastPositionUpdate()
|
|||||||
|
|
||||||
Group *g = GetGroup();
|
Group *g = GetGroup();
|
||||||
if (g) {
|
if (g) {
|
||||||
g->QueuePacket(&outapp);
|
for (auto & m : g->members) {
|
||||||
|
if (m && m->IsClient() && m != this) {
|
||||||
|
m->CastToClient()->QueuePacket(&outapp);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user