aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdeScene.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
index b5436bd..7b04bcf 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
@@ -1735,12 +1735,7 @@ namespace OpenSim.Region.Physics.OdePlugin
1735 1735
1736 internal void RemoveCharacter(OdeCharacter chr) 1736 internal void RemoveCharacter(OdeCharacter chr)
1737 { 1737 {
1738 if (_characters.Contains(chr)) 1738 _characters.Remove(chr);
1739 {
1740 _characters.Remove(chr);
1741 geom_name_map.Remove(chr.Shell);
1742 actor_name_map.Remove(chr.Shell);
1743 }
1744 } 1739 }
1745 1740
1746 private PhysicsActor AddPrim(String name, Vector3 position, Vector3 size, Quaternion rotation, 1741 private PhysicsActor AddPrim(String name, Vector3 position, Vector3 size, Quaternion rotation,