diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index eb59ffd..4cd5183 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -3177,6 +3177,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
3177 | } | 3177 | } |
3178 | } | 3178 | } |
3179 | 3179 | ||
3180 | public SOPVehicle sopVehicle | ||
3181 | { | ||
3182 | get | ||
3183 | { | ||
3184 | return m_vehicle; | ||
3185 | } | ||
3186 | set | ||
3187 | { | ||
3188 | m_vehicle = value; | ||
3189 | } | ||
3190 | } | ||
3191 | |||
3180 | 3192 | ||
3181 | public int VehicleType | 3193 | public int VehicleType |
3182 | { | 3194 | { |
@@ -3196,6 +3208,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3196 | public void SetVehicleType(int type) | 3208 | public void SetVehicleType(int type) |
3197 | { | 3209 | { |
3198 | m_vehicle = null; | 3210 | m_vehicle = null; |
3211 | |||
3199 | if (type == (int)Vehicle.TYPE_NONE) | 3212 | if (type == (int)Vehicle.TYPE_NONE) |
3200 | { | 3213 | { |
3201 | if (_parentID ==0 && PhysActor != null) | 3214 | if (_parentID ==0 && PhysActor != null) |