Properly reset a vehicle's status to VEHICLE_TYPE_NONE when requested

0.6.6-post-fixes
Melanie Thielker 2009-06-19 22:32:02 +00:00
parent e4d26d7bfa
commit 034de5ecd6
1 changed files with 1 additions and 0 deletions

View File

@ -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();
} }
} }