diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 2ed00a0..faf6354 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2568,9 +2568,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
2568 | 2568 | ||
2569 | if (actor != null) | 2569 | if (actor != null) |
2570 | { | 2570 | { |
2571 | if (actor.Flying) | 2571 | // rm falling if (actor.Flying) |
2572 | if ((actor.Flying) || Animator.m_falling) // add for falling lateral speed | ||
2572 | { | 2573 | { |
2573 | direc *= 4.0f; | 2574 | // rm speed mod direc *= 4.0f; |
2575 | direc *= 5.2f; // for speed mod | ||
2574 | //bool controlland = (((m_AgentControlFlags & (uint)AgentManager.ControlFlags.AGENT_CONTROL_UP_NEG) != 0) || ((m_AgentControlFlags & (uint)AgentManager.ControlFlags.AGENT_CONTROL_NUDGE_UP_NEG) != 0)); | 2576 | //bool controlland = (((m_AgentControlFlags & (uint)AgentManager.ControlFlags.AGENT_CONTROL_UP_NEG) != 0) || ((m_AgentControlFlags & (uint)AgentManager.ControlFlags.AGENT_CONTROL_NUDGE_UP_NEG) != 0)); |
2575 | //bool colliding = (m_physicsActor.IsColliding==true); | 2577 | //bool colliding = (m_physicsActor.IsColliding==true); |
2576 | //if (controlland) | 2578 | //if (controlland) |