Number of small changes

This commit is contained in:
MW
2007-05-19 11:55:05 +00:00
parent f0261fb51b
commit e2499fbbc1
8 changed files with 224 additions and 279 deletions

View File

@@ -117,7 +117,7 @@ namespace OpenSim.Physics.BasicPhysicsPlugin
}
if(actor.Position.Z < (_heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X]+1))
{*/
if (actor.Position.Y > 0 && actor.Position.Y < 256 && actor.Position.X > 0 && actor.Position.X < 256)
if ((actor.Position.Y > 0 && actor.Position.Y < 256) && (actor.Position.X > 0 && actor.Position.X < 256))
{
actor.Position.Z = _heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X] + 1;
}