diff options
author | Jeff Ames | 2007-10-30 09:56:29 +0000 |
---|---|---|
committer | Jeff Ames | 2007-10-30 09:56:29 +0000 |
commit | ecb2305a04588a24c738b37121d0d915a6a37b04 (patch) | |
tree | 34fb34431ef189ace026a6cb5f8df1ed7b8a4829 /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |
parent | * Optimized usings (diff) | |
download | opensim-SC_OLD-ecb2305a04588a24c738b37121d0d915a6a37b04.zip opensim-SC_OLD-ecb2305a04588a24c738b37121d0d915a6a37b04.tar.gz opensim-SC_OLD-ecb2305a04588a24c738b37121d0d915a6a37b04.tar.bz2 opensim-SC_OLD-ecb2305a04588a24c738b37121d0d915a6a37b04.tar.xz |
temporary fix for sitting collisions in ODE
Diffstat (limited to '')
-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: |