fix compile issue on mono

afrisby
Sean Dague 2007-11-12 20:35:25 +00:00
parent ad002835d3
commit b9e971cda9
1 changed files with 1 additions and 1 deletions

View File

@ -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);