* Yeah, I placed Close() in the wrong file. So sue me.

afrisby
lbsa71 2007-09-21 05:34:40 +00:00
parent 5fab795bf0
commit 80a9b81448
2 changed files with 5 additions and 9 deletions

View File

@ -66,14 +66,5 @@ namespace OpenSim.Region.Environment.Scenes
}
}
}
internal void Close()
{
if (m_physicsActor != null)
{
m_scene.PhysScene.RemoveAvatar( PhysicsActor );
m_physicsActor = null;
}
}
}
}

View File

@ -931,5 +931,10 @@ namespace OpenSim.Region.Environment.Scenes
m_physicsActor = scene.AddAvatar(pVec);
}
internal void Close()
{
RemoveFromPhysicalScene();
}
}
}