aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index c2aa8e2..ffe6fe9 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -5521,6 +5521,24 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5521 5521
5522 if (avSetStartLocationRequestPacket.AgentData.AgentID == AgentId && avSetStartLocationRequestPacket.AgentData.SessionID == SessionId) 5522 if (avSetStartLocationRequestPacket.AgentData.AgentID == AgentId && avSetStartLocationRequestPacket.AgentData.SessionID == SessionId)
5523 { 5523 {
5524 // Linden Client limitation..
5525 if (avSetStartLocationRequestPacket.StartLocationData.LocationPos.X == 255.5f
5526 || avSetStartLocationRequestPacket.StartLocationData.LocationPos.Y == 255.5f)
5527 {
5528 ScenePresence avatar = null;
5529 if (((Scene)m_scene).TryGetAvatar(AgentId, out avatar))
5530 {
5531 if (avSetStartLocationRequestPacket.StartLocationData.LocationPos.X == 255.5f)
5532 {
5533 avSetStartLocationRequestPacket.StartLocationData.LocationPos.X = avatar.AbsolutePosition.X;
5534 }
5535 if (avSetStartLocationRequestPacket.StartLocationData.LocationPos.Y == 255.5f)
5536 {
5537 avSetStartLocationRequestPacket.StartLocationData.LocationPos.Y = avatar.AbsolutePosition.Y;
5538 }
5539 }
5540
5541 }
5524 TeleportLocationRequest handlerSetStartLocationRequest = OnSetStartLocationRequest; 5542 TeleportLocationRequest handlerSetStartLocationRequest = OnSetStartLocationRequest;
5525 if (handlerSetStartLocationRequest != null) 5543 if (handlerSetStartLocationRequest != null)
5526 { 5544 {