mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
fix compile issue on mono
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user