aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-17 21:00:35 +0000
committerTeravus Ovares2007-11-17 21:00:35 +0000
commit54df1a57d73aad43dfcbc7f298830b548e37a9af (patch)
tree18c1f399f5f7473f9fb0a0bb36b921bc294bcbb9 /OpenSim
parent* Fixed space related SimCrasher ODE error when a prim disables itself becaus... (diff)
downloadopensim-SC_OLD-54df1a57d73aad43dfcbc7f298830b548e37a9af.zip
opensim-SC_OLD-54df1a57d73aad43dfcbc7f298830b548e37a9af.tar.gz
opensim-SC_OLD-54df1a57d73aad43dfcbc7f298830b548e37a9af.tar.bz2
opensim-SC_OLD-54df1a57d73aad43dfcbc7f298830b548e37a9af.tar.xz
* Fix Null comparison for Mono
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 03b22ae..6692d97 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -465,7 +465,7 @@ namespace OpenSim.Region.Physics.OdePlugin
465 else 465 else
466 { 466 {
467 IntPtr sGeomIsIn = d.GeomGetSpace(geom); 467 IntPtr sGeomIsIn = d.GeomGetSpace(geom);
468 if (sGeomIsIn != null) 468 if (!(sGeomIsIn.Equals(null)))
469 d.SpaceRemove(sGeomIsIn, geom); 469 d.SpaceRemove(sGeomIsIn, geom);
470 } 470 }
471 471
@@ -490,7 +490,7 @@ namespace OpenSim.Region.Physics.OdePlugin
490 else 490 else
491 { 491 {
492 IntPtr sGeomIsIn = d.GeomGetSpace(geom); 492 IntPtr sGeomIsIn = d.GeomGetSpace(geom);
493 if (sGeomIsIn != null) 493 if (!(sGeomIsIn.Equals(null)))
494 d.SpaceRemove(sGeomIsIn, geom); 494 d.SpaceRemove(sGeomIsIn, geom);
495 } 495 }
496 } 496 }