diff options
author | Sean Dague | 2007-11-12 20:35:25 +0000 |
---|---|---|
committer | Sean Dague | 2007-11-12 20:35:25 +0000 |
commit | b9e971cda924fe1b74f186092974989560608609 (patch) | |
tree | c06f0fc2410f21f14858eea2b0b93a24af00e799 /OpenSim/Region/Physics | |
parent | enable typing animation for chat, maybe (diff) | |
download | opensim-SC-b9e971cda924fe1b74f186092974989560608609.zip opensim-SC-b9e971cda924fe1b74f186092974989560608609.tar.gz opensim-SC-b9e971cda924fe1b74f186092974989560608609.tar.bz2 opensim-SC-b9e971cda924fe1b74f186092974989560608609.tar.xz |
fix compile issue on mono
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
308 | p = (OdePrim) prim; | 308 | p = (OdePrim) prim; |
309 | p.disableBody(); | 309 | p.disableBody(); |
310 | } | 310 | } |
311 | if (((OdePrim)prim).prim_geom != null) | 311 | if (!((OdePrim)prim).prim_geom.Equals(null)) |
312 | { | 312 | { |
313 | if (((OdePrim)prim).prim_geom != (IntPtr) 0) | 313 | if (((OdePrim)prim).prim_geom != (IntPtr) 0) |
314 | d.GeomDestroy(((OdePrim)prim).prim_geom); | 314 | d.GeomDestroy(((OdePrim)prim).prim_geom); |