aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.Terrain.BasicTerrain/TerrainEngine.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
index 0f5efa5..60b49ae 100644
--- a/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs
@@ -25,7 +25,7 @@ namespace OpenSim.Terrain
25 float[] heights = new float[w*h]; 25 float[] heights = new float[w*h];
26 int i; 26 int i;
27 for(i=0;i<w*h;i++) { 27 for(i=0;i<w*h;i++) {
28 heights[i] = (int)(i / w) + (i % w); 28 heights[i] = map[i / w, i % w];
29 } 29 }
30 return heights; 30 return heights;
31 } 31 }