diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index ebb9b0a..287f637 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2420,7 +2420,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
2420 | // m_log.Info("[AGENT]: Stop Flying"); | 2420 | // m_log.Info("[AGENT]: Stop Flying"); |
2421 | //} | 2421 | //} |
2422 | } | 2422 | } |
2423 | if (!PhysicsActor.Flying && PhysicsActor.IsColliding) | 2423 | if (Animator.Falling && m_wasFlying) // if falling from flying, disable motion add |
2424 | { | ||
2425 | direc *= 0.0f; | ||
2426 | } | ||
2427 | else if (!PhysicsActor.Flying && PhysicsActor.IsColliding) | ||
2424 | { | 2428 | { |
2425 | if (direc.Z > 2.0f) | 2429 | if (direc.Z > 2.0f) |
2426 | { | 2430 | { |