Fixes Region Crossings on a prim.

mysql-performance
Revolution 2010-01-23 20:29:02 -06:00 committed by Melanie
parent 316503c398
commit fe06f0dd05
1 changed files with 9 additions and 1 deletions

View File

@ -2779,7 +2779,15 @@ namespace OpenSim.Region.Framework.Scenes
protected void CrossToNewRegion()
{
InTransit();
m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying);
try
{
m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying);
}
catch(Exception ex)
{
m_scene.CrossAgentToNewRegion(this, false);
}
}
public void InTransit()