diff options
author | MW | 2007-05-19 11:55:05 +0000 |
---|---|---|
committer | MW | 2007-05-19 11:55:05 +0000 |
commit | e2499fbbc12e55a7844f761d0a98799c0335ec8c (patch) | |
tree | 2388ab1a16fef7eeae115c2f9ff529ee0d140df3 /OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |
parent | ZOMG! Authentication! (diff) | |
download | opensim-SC_OLD-e2499fbbc12e55a7844f761d0a98799c0335ec8c.zip opensim-SC_OLD-e2499fbbc12e55a7844f761d0a98799c0335ec8c.tar.gz opensim-SC_OLD-e2499fbbc12e55a7844f761d0a98799c0335ec8c.tar.bz2 opensim-SC_OLD-e2499fbbc12e55a7844f761d0a98799c0335ec8c.tar.xz |
Number of small changes
Diffstat (limited to '')
-rw-r--r-- | OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs index ea2bd9b..c37acc8 100644 --- a/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |||
@@ -117,7 +117,7 @@ namespace OpenSim.Physics.BasicPhysicsPlugin | |||
117 | } | 117 | } |
118 | if(actor.Position.Z < (_heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X]+1)) | 118 | if(actor.Position.Z < (_heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X]+1)) |
119 | {*/ | 119 | {*/ |
120 | if (actor.Position.Y > 0 && actor.Position.Y < 256 && actor.Position.X > 0 && actor.Position.X < 256) | 120 | if ((actor.Position.Y > 0 && actor.Position.Y < 256) && (actor.Position.X > 0 && actor.Position.X < 256)) |
121 | { | 121 | { |
122 | actor.Position.Z = _heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X] + 1; | 122 | actor.Position.Z = _heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X] + 1; |
123 | } | 123 | } |