diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs b/OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs index e6b84ae..063b14f 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEVehicleSettings.cs | |||
@@ -234,7 +234,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
234 | SetDefaultsForType(pType); | 234 | SetDefaultsForType(pType); |
235 | Reset(); | 235 | Reset(); |
236 | } | 236 | } |
237 | else if (m_type != Vehicle.TYPE_NONE && pType != Vehicle.TYPE_NONE ) | 237 | else if (m_type != Vehicle.TYPE_NONE && pType != Vehicle.TYPE_NONE) |
238 | { | 238 | { |
239 | // Set properties | 239 | // Set properties |
240 | SetDefaultsForType(pType); | 240 | SetDefaultsForType(pType); |
@@ -408,7 +408,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
408 | // m_bankingMix = 0.8f; | 408 | // m_bankingMix = 0.8f; |
409 | // m_bankingTimescale = 1; | 409 | // m_bankingTimescale = 1; |
410 | // m_referenceFrame = Quaternion.Identity; | 410 | // m_referenceFrame = Quaternion.Identity; |
411 | m_flags &= ~( VehicleFlag.HOVER_TERRAIN_ONLY | VehicleFlag.LIMIT_ROLL_ONLY | VehicleFlag.HOVER_GLOBAL_HEIGHT); | 411 | m_flags &= ~(VehicleFlag.HOVER_TERRAIN_ONLY | VehicleFlag.LIMIT_ROLL_ONLY | VehicleFlag.HOVER_GLOBAL_HEIGHT); |
412 | m_flags |= (VehicleFlag.NO_DEFLECTION_UP | VehicleFlag.HOVER_WATER_ONLY | VehicleFlag.HOVER_UP_ONLY | | 412 | m_flags |= (VehicleFlag.NO_DEFLECTION_UP | VehicleFlag.HOVER_WATER_ONLY | VehicleFlag.HOVER_UP_ONLY | |
413 | VehicleFlag.LIMIT_MOTOR_UP); | 413 | VehicleFlag.LIMIT_MOTOR_UP); |
414 | break; | 414 | break; |