Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requested
parent
e4d26d7bfa
commit
034de5ecd6
|
@ -243,6 +243,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
}
|
}
|
||||||
else if (m_type != Vehicle.TYPE_NONE && pType == Vehicle.TYPE_NONE)
|
else if (m_type != Vehicle.TYPE_NONE && pType == Vehicle.TYPE_NONE)
|
||||||
{
|
{
|
||||||
|
m_type = pType;
|
||||||
Destroy();
|
Destroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue