diff options
author | dan miller | 2007-09-27 23:11:41 +0000 |
---|---|---|
committer | dan miller | 2007-09-27 23:11:41 +0000 |
commit | 77a185f4ad27b6bbc0ec683ec2b3d1729eecdac0 (patch) | |
tree | d7b87636a93012a1297403fa4af1f4ee99a7c487 /OpenSim/Region/Environment | |
parent | this should fix mantis #443 (diff) | |
download | opensim-SC-77a185f4ad27b6bbc0ec683ec2b3d1729eecdac0.zip opensim-SC-77a185f4ad27b6bbc0ec683ec2b3d1729eecdac0.tar.gz opensim-SC-77a185f4ad27b6bbc0ec683ec2b3d1729eecdac0.tar.bz2 opensim-SC-77a185f4ad27b6bbc0ec683ec2b3d1729eecdac0.tar.xz |
this should fix 443 and compile!
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 2 |
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; |