aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
index 5cf8953..2fe4d68 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
@@ -234,7 +234,7 @@ public class BSCharacter : BSPhysObject
234 _position.Z = terrainHeight + 2.0f; 234 _position.Z = terrainHeight + 2.0f;
235 ret = true; 235 ret = true;
236 } 236 }
237 if ((CurrentCollisionFlags & CollisionFlags.BS_FLOATS_ON_WATER) == 0) 237 if ((CurrentCollisionFlags & CollisionFlags.BS_FLOATS_ON_WATER) != 0)
238 { 238 {
239 float waterHeight = PhysicsScene.GetWaterLevelAtXYZ(_position); 239 float waterHeight = PhysicsScene.GetWaterLevelAtXYZ(_position);
240 if (Position.Z < waterHeight) 240 if (Position.Z < waterHeight)