From e2499fbbc12e55a7844f761d0a98799c0335ec8c Mon Sep 17 00:00:00 2001 From: MW Date: Sat, 19 May 2007 11:55:05 +0000 Subject: Number of small changes --- OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim.Physics') 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 } 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; } -- cgit v1.1