diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index dd2562c..7d1780c 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -200,12 +200,11 @@ namespace OpenSim.Region.ClientStack | |||
200 | } | 200 | } |
201 | break; | 201 | break; |
202 | case PacketType.AgentRequestSit: | 202 | case PacketType.AgentRequestSit: |
203 | AgentRequestSitPacket agentRequestSit = (AgentRequestSitPacket) Pack; | ||
204 | SendSitResponse(agentRequestSit.TargetObject.TargetID, agentRequestSit.TargetObject.Offset); | ||
205 | if (OnAgentRequestSit != null) | 203 | if (OnAgentRequestSit != null) |
206 | { | 204 | { |
205 | AgentRequestSitPacket agentRequestSit = (AgentRequestSitPacket)Pack; | ||
207 | OnAgentRequestSit(this, agentRequestSit.AgentData.AgentID, | 206 | OnAgentRequestSit(this, agentRequestSit.AgentData.AgentID, |
208 | agentRequestSit.TargetObject.TargetID); | 207 | agentRequestSit.TargetObject.TargetID, agentRequestSit.TargetObject.Offset); |
209 | } | 208 | } |
210 | break; | 209 | break; |
211 | case PacketType.AgentSit: | 210 | case PacketType.AgentSit: |