From b9e971cda924fe1b74f186092974989560608609 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 12 Nov 2007 20:35:25 +0000 Subject: fix compile issue on mono --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 2ba8827..98c5995 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -308,7 +308,7 @@ namespace OpenSim.Region.Physics.OdePlugin p = (OdePrim) prim; p.disableBody(); } - if (((OdePrim)prim).prim_geom != null) + if (!((OdePrim)prim).prim_geom.Equals(null)) { if (((OdePrim)prim).prim_geom != (IntPtr) 0) d.GeomDestroy(((OdePrim)prim).prim_geom); -- cgit v1.1