aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index b5bb951..0338572 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -352,7 +352,7 @@ namespace OpenSim.Region.Environment.Scenes
352 352
353 private void RemoveFromPhysicalScene() 353 private void RemoveFromPhysicalScene()
354 { 354 {
355 if (this.PhysicsActor) 355 if (this.PhysicsActor != null)
356 { 356 {
357 m_scene.PhysScene.RemoveAvatar(this.PhysicsActor); 357 m_scene.PhysScene.RemoveAvatar(this.PhysicsActor);
358 this.PhysicsActor = null; 358 this.PhysicsActor = null;