diff options
author | Jeff Ames | 2009-02-13 02:06:28 +0000 |
---|---|---|
committer | Jeff Ames | 2009-02-13 02:06:28 +0000 |
commit | 95d53d48d4ce44cebf0f2d5803f58a0f7cfe8346 (patch) | |
tree | 576c3343f7973335e12b3ea05b0a4d1957440194 /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |
parent | Update svn properties. (diff) | |
download | opensim-SC-95d53d48d4ce44cebf0f2d5803f58a0f7cfe8346.zip opensim-SC-95d53d48d4ce44cebf0f2d5803f58a0f7cfe8346.tar.gz opensim-SC-95d53d48d4ce44cebf0f2d5803f58a0f7cfe8346.tar.bz2 opensim-SC-95d53d48d4ce44cebf0f2d5803f58a0f7cfe8346.tar.xz |
Add copyright headers. Minor formatting cleanup. Fix some compiler warnings. Fix some m_log declarations.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index b2981fe..16e0efe 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -837,7 +837,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
837 | d.Vector3 pos = d.BodyGetPosition(Body); | 837 | d.Vector3 pos = d.BodyGetPosition(Body); |
838 | float ground_height = _parent_scene.GetTerrainHeightAtXY(pos.X, pos.Y); | 838 | float ground_height = _parent_scene.GetTerrainHeightAtXY(pos.X, pos.Y); |
839 | float target_altitude = ground_height + 3.0f; // This is the min fly height | 839 | float target_altitude = ground_height + 3.0f; // This is the min fly height |
840 | if(pos.Z < target_altitude) | 840 | if (pos.Z < target_altitude) |
841 | { | 841 | { |
842 | vec.Z += (target_altitude - pos.Z) * PID_P * 5.0f; | 842 | vec.Z += (target_altitude - pos.Z) * PID_P * 5.0f; |
843 | } | 843 | } |