aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2009-06-19 22:32:02 +0000
committerMelanie Thielker2009-06-19 22:32:02 +0000
commit034de5ecd6b88d2b08fb8703901a0cb431f598e7 (patch)
treec6e0f85da583fdf032220bbdddef1b81d43e73c1 /OpenSim
parentWhen a shared module hooks OnClientClosed, it has no way of finding (diff)
downloadopensim-SC_OLD-034de5ecd6b88d2b08fb8703901a0cb431f598e7.zip
opensim-SC_OLD-034de5ecd6b88d2b08fb8703901a0cb431f598e7.tar.gz
opensim-SC_OLD-034de5ecd6b88d2b08fb8703901a0cb431f598e7.tar.bz2
opensim-SC_OLD-034de5ecd6b88d2b08fb8703901a0cb431f598e7.tar.xz
Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requested
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs b/OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs
index 063b14f..a547c3e 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs
@@ -243,6 +243,7 @@ namespace OpenSim.Region.Physics.OdePlugin
243 } 243 }
244 else if (m_type != Vehicle.TYPE_NONE && pType == Vehicle.TYPE_NONE) 244 else if (m_type != Vehicle.TYPE_NONE && pType == Vehicle.TYPE_NONE)
245 { 245 {
246 m_type = pType;
246 Destroy(); 247 Destroy();
247 } 248 }
248 } 249 }