mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requested
This commit is contained in:
@@ -243,6 +243,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
}
|
||||
else if (m_type != Vehicle.TYPE_NONE && pType == Vehicle.TYPE_NONE)
|
||||
{
|
||||
m_type = pType;
|
||||
Destroy();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user