change X Y

master
Christopher Latza 2020-06-10 21:44:08 +02:00
parent b09c0ec839
commit 301f156830
1 changed files with 2 additions and 2 deletions

View File

@ -145,10 +145,10 @@ namespace OpenSim.Modules.PathFinding
float baseheight = (float)m_scene.Heightmap[X, Y]; float baseheight = (float)m_scene.Heightmap[X, Y];
if (baseheight <= m_scene.RegionInfo.RegionSettings.WaterHeight) 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) if (baseheight > m_scene.RegionInfo.RegionSettings.WaterHeight)
_map.SetPixel(Y, X, Color.Green); _map.SetPixel(X, Y, Color.Green);
} }
} }