diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 1c183f3..5562e51 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2779,7 +2779,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
2779 | protected void CrossToNewRegion() | 2779 | protected void CrossToNewRegion() |
2780 | { | 2780 | { |
2781 | InTransit(); | 2781 | InTransit(); |
2782 | m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying); | 2782 | try |
2783 | { | ||
2784 | m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying); | ||
2785 | } | ||
2786 | catch(Exception ex) | ||
2787 | { | ||
2788 | m_scene.CrossAgentToNewRegion(this, false); | ||
2789 | } | ||
2790 | |||
2783 | } | 2791 | } |
2784 | 2792 | ||
2785 | public void InTransit() | 2793 | public void InTransit() |