From 034de5ecd6b88d2b08fb8703901a0cb431f598e7 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 19 Jun 2009 22:32:02 +0000 Subject: Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requested --- OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim') 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 } else if (m_type != Vehicle.TYPE_NONE && pType == Vehicle.TYPE_NONE) { + m_type = pType; Destroy(); } } -- cgit v1.1