aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index 80e499b..95ce3c5 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -33,6 +33,7 @@ using libsecondlife.Packets;
33using OpenSim.Framework.Inventory; 33using OpenSim.Framework.Inventory;
34using OpenSim.Framework.Types; 34using OpenSim.Framework.Types;
35using OpenSim.Framework.Utilities; 35using OpenSim.Framework.Utilities;
36using OpenSim.Framework.Interfaces;
36 37
37namespace OpenSim.Region.ClientStack 38namespace OpenSim.Region.ClientStack
38{ 39{
@@ -76,12 +77,12 @@ namespace OpenSim.Region.ClientStack
76 { 77 {
77 case PacketType.ViewerEffect: 78 case PacketType.ViewerEffect:
78 ViewerEffectPacket viewer = (ViewerEffectPacket)Pack; 79 ViewerEffectPacket viewer = (ViewerEffectPacket)Pack;
79 foreach (ClientView client in m_clientThreads.Values) 80 foreach (IClientAPI client in m_clientThreads.Values)
80 { 81 {
81 if (client.AgentID != this.AgentID) 82 if (client.AgentId != this.AgentId)
82 { 83 {
83 viewer.AgentData.AgentID = client.AgentID; 84 viewer.AgentData.AgentID = client.AgentId;
84 viewer.AgentData.SessionID = client.SessionID; 85 viewer.AgentData.SessionID = client.SessionId;
85 client.OutPacket(viewer); 86 client.OutPacket(viewer);
86 } 87 }
87 } 88 }
@@ -106,7 +107,7 @@ namespace OpenSim.Region.ClientStack
106 byte[] message = inchatpack.ChatData.Message; 107 byte[] message = inchatpack.ChatData.Message;
107 byte type = inchatpack.ChatData.Type; 108 byte type = inchatpack.ChatData.Type;
108 LLVector3 fromPos = new LLVector3(); // ClientAvatar.Pos; 109 LLVector3 fromPos = new LLVector3(); // ClientAvatar.Pos;
109 LLUUID fromAgentID = AgentID; 110 LLUUID fromAgentID = AgentId;
110 111
111 int channel = inchatpack.ChatData.Channel; 112 int channel = inchatpack.ChatData.Channel;
112 113