mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 01:52:02 +00:00
Don't send update to self while in group
This commit is contained in:
+5
-1
@@ -13161,7 +13161,11 @@ void Client::BroadcastPositionUpdate()
|
||||
|
||||
Group *g = GetGroup();
|
||||
if (g) {
|
||||
g->QueuePacket(&outapp);
|
||||
for (auto & m : g->members) {
|
||||
if (m && m->IsClient() && m != this) {
|
||||
m->CastToClient()->QueuePacket(&outapp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user