aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 64c443d..101bac3 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1700,6 +1700,16 @@ namespace OpenSim.Region.Environment.Scenes
1700 if (!agent.child) 1700 if (!agent.child)
1701 { 1701 {
1702 AddCapsHandler(agent.AgentID); 1702 AddCapsHandler(agent.AgentID);
1703
1704 // Honor parcel landing type and position.
1705 ILandObject land = LandChannel.getLandObject(agent.startpos.X, agent.startpos.Y);
1706 if (land != null)
1707 {
1708 if (land.landData.landingType == (byte)1 && land.landData.userLocation != LLVector3.Zero)
1709 {
1710 agent.startpos = land.landData.userLocation;
1711 }
1712 }
1703 } 1713 }
1704 1714
1705 m_log.DebugFormat( 1715 m_log.DebugFormat(