aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index b8e4e93..12a4712 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1723,7 +1723,9 @@ namespace OpenSim.Region.Framework.Scenes
1723 "[SCENE PRESENCE]: Avatar {0} set move to target {1} (terrain height {2}) in {3}", 1723 "[SCENE PRESENCE]: Avatar {0} set move to target {1} (terrain height {2}) in {3}",
1724 Name, pos, terrainHeight, m_scene.RegionInfo.RegionName); 1724 Name, pos, terrainHeight, m_scene.RegionInfo.RegionName);
1725 1725
1726 if (!noFly && pos.Z > terrainHeight) 1726 if (noFly)
1727 PhysicsActor.Flying = false;
1728 else if (pos.Z > terrainHeight)
1727 PhysicsActor.Flying = true; 1729 PhysicsActor.Flying = true;
1728 1730
1729 MovingToTarget = true; 1731 MovingToTarget = true;