mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Number of small changes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user