change X Y
parent
b09c0ec839
commit
301f156830
|
@ -145,10 +145,10 @@ namespace OpenSim.Modules.PathFinding
|
|||
float baseheight = (float)m_scene.Heightmap[X, Y];
|
||||
|
||||
if (baseheight <= m_scene.RegionInfo.RegionSettings.WaterHeight)
|
||||
_map.SetPixel(Y, X, Color.Blue);
|
||||
_map.SetPixel(X, Y, Color.Blue);
|
||||
|
||||
if (baseheight > m_scene.RegionInfo.RegionSettings.WaterHeight)
|
||||
_map.SetPixel(Y, X, Color.Green);
|
||||
_map.SetPixel(X, Y, Color.Green);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue