diff options
Fix exception when standing up.
Fixes Mantis #3170
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d590d99..0aac6e1 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1471,7 +1471,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1471 | 1471 | ||
1472 | if (m_physicsActor == null) | 1472 | if (m_physicsActor == null) |
1473 | { | 1473 | { |
1474 | AddToPhysicalScene(m_physicsActor.Flying); | 1474 | AddToPhysicalScene(false); |
1475 | } | 1475 | } |
1476 | 1476 | ||
1477 | m_pos += m_parentPosition + new Vector3(0.0f, 0.0f, 2.0f*m_sitAvatarHeight); | 1477 | m_pos += m_parentPosition + new Vector3(0.0f, 0.0f, 2.0f*m_sitAvatarHeight); |