aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index fc89b2a..01ab199 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -5447,10 +5447,10 @@ namespace OpenSim.Region.Framework.Scenes
5447 for (int i = 0; i < 5; i++) 5447 for (int i = 0; i < 5; i++)
5448 presence.PhysicsActor.IsColliding = true; 5448 presence.PhysicsActor.IsColliding = true;
5449 5449
5450// Vector3 targetPos = presence.MoveToPositionTarget; 5450 if (presence.LandAtTarget)
5451// if (m_avatars[presence.UUID].LandAtTarget) 5451 presence.PhysicsActor.Flying = false;
5452// presence.PhysicsActor.Flying = false;
5453 5452
5453// Vector3 targetPos = presence.MoveToPositionTarget;
5454// float terrainHeight = (float)presence.Scene.Heightmap[(int)targetPos.X, (int)targetPos.Y]; 5454// float terrainHeight = (float)presence.Scene.Heightmap[(int)targetPos.X, (int)targetPos.Y];
5455// if (targetPos.Z - terrainHeight < 0.2) 5455// if (targetPos.Z - terrainHeight < 0.2)
5456// { 5456// {