this should fix mantis #443

afrisby
dan miller 2007-09-27 23:06:24 +00:00
parent 863195612b
commit 129d266867
1 changed files with 6 additions and 3 deletions

View File

@ -352,8 +352,11 @@ namespace OpenSim.Region.Environment.Scenes
private void RemoveFromPhysicalScene()
{
m_scene.PhysScene.RemoveAvatar( this.PhysicsActor );
this.PhysicsActor = null;
if (this.PhysicsActor)
{
m_scene.PhysScene.RemoveAvatar(this.PhysicsActor);
this.PhysicsActor = null;
}
}
/// <summary>