aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index 1e0e978..bd66c02 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -162,7 +162,7 @@ namespace OpenSim.Region.Terrain
162 162
163 for (i = 0; i < w * h; i++) 163 for (i = 0; i < w * h; i++)
164 { 164 {
165 heights[i] = (float)heightmap.map[i / w, i % w]; 165 heights[i] = (float)heightmap.map[i % w, i / w];
166 } 166 }
167 167
168 return heights; 168 return heights;