aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOde
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde')
-rw-r--r--OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs
index 3c4675c..0e46471 100644
--- a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs
+++ b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs
@@ -944,7 +944,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
944 return true; 944 return true;
945 } 945 }
946 946
947 if (gtype == d.GeomClassID.SphereClass) 947 if (gtype == d.GeomClassID.SphereClass && d.GeomGetBody(other) != IntPtr.Zero)
948 { 948 {
949 if(d.GeomSphereGetRadius(other) < 0.5) 949 if(d.GeomSphereGetRadius(other) < 0.5)
950 return true; 950 return true;