diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 35433c6..38df751 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -1025,7 +1025,6 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1025 | } | 1025 | } |
1026 | } | 1026 | } |
1027 | 1027 | ||
1028 | |||
1029 | if (flying) | 1028 | if (flying) |
1030 | { | 1029 | { |
1031 | vec.Z = (_target_velocity.Z - vel.Z) * (PID_D); | 1030 | vec.Z = (_target_velocity.Z - vel.Z) * (PID_D); |
@@ -1044,7 +1043,6 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1044 | vec.Z += (target_altitude - _position.Z) * PID_P * 5.0f; | 1043 | vec.Z += (target_altitude - _position.Z) * PID_P * 5.0f; |
1045 | } | 1044 | } |
1046 | // end add Kitto Flora | 1045 | // end add Kitto Flora |
1047 | |||
1048 | } | 1046 | } |
1049 | if (PhysicsVector.isFinite(vec)) | 1047 | if (PhysicsVector.isFinite(vec)) |
1050 | { | 1048 | { |
@@ -1080,8 +1078,6 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1080 | _parent_scene.geom_name_map.Remove(Shell); | 1078 | _parent_scene.geom_name_map.Remove(Shell); |
1081 | Shell = IntPtr.Zero; | 1079 | Shell = IntPtr.Zero; |
1082 | } | 1080 | } |
1083 | |||
1084 | return; | ||
1085 | } | 1081 | } |
1086 | } | 1082 | } |
1087 | 1083 | ||