From 77a185f4ad27b6bbc0ec683ec2b3d1729eecdac0 Mon Sep 17 00:00:00 2001 From: dan miller Date: Thu, 27 Sep 2007 23:11:41 +0000 Subject: [PATCH] this should fix 443 and compile! --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index b5bb951a55..0338572783 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -352,7 +352,7 @@ namespace OpenSim.Region.Environment.Scenes private void RemoveFromPhysicalScene() { - if (this.PhysicsActor) + if (this.PhysicsActor != null) { m_scene.PhysScene.RemoveAvatar(this.PhysicsActor); this.PhysicsActor = null;