diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index f8e2a60..f599342 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -2290,9 +2290,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2290 | 2290 | ||
2291 | public void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle) | 2291 | public void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle) |
2292 | { | 2292 | { |
2293 | m_activeGroupID = activegroupid; | 2293 | if (agentid == AgentId) |
2294 | m_activeGroupName = groupname; | 2294 | { |
2295 | m_activeGroupPowers = grouppowers; | 2295 | m_activeGroupID = activegroupid; |
2296 | m_activeGroupName = groupname; | ||
2297 | m_activeGroupPowers = grouppowers; | ||
2298 | } | ||
2296 | 2299 | ||
2297 | AgentDataUpdatePacket sendAgentDataUpdate = (AgentDataUpdatePacket)PacketPool.Instance.GetPacket(PacketType.AgentDataUpdate); | 2300 | AgentDataUpdatePacket sendAgentDataUpdate = (AgentDataUpdatePacket)PacketPool.Instance.GetPacket(PacketType.AgentDataUpdate); |
2298 | sendAgentDataUpdate.AgentData.ActiveGroupID = activegroupid; | 2301 | sendAgentDataUpdate.AgentData.ActiveGroupID = activegroupid; |