Fixed the stats in show client stats. Also left some comments with observations about AgentUpdates.

This commit is contained in:
Diva Canto
2013-07-19 22:11:32 -07:00
parent 18d5d8f5dd
commit 174105ad02
3 changed files with 19 additions and 9 deletions

View File

@@ -1312,6 +1312,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (m_discardAgentUpdates)
return;
((LLClientView)client).TotalAgentUpdates++;
AgentUpdatePacket agentUpdate = (AgentUpdatePacket)packet;
if (agentUpdate.AgentData.SessionID != client.SessionId