aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2007-04-07 16:05:45 +0000
committerAdam Frisby2007-04-07 16:05:45 +0000
commitd28dd8f456d3ccbfa59a1fbd9dc9d072f5381a14 (patch)
tree5430fffe7f05056a582a88924a0bef95cbcadd02
parentcompiles and works just weird terrain problem (and terrain saving is currentl... (diff)
downloadopensim-SC-d28dd8f456d3ccbfa59a1fbd9dc9d072f5381a14.zip
opensim-SC-d28dd8f456d3ccbfa59a1fbd9dc9d072f5381a14.tar.gz
opensim-SC-d28dd8f456d3ccbfa59a1fbd9dc9d072f5381a14.tar.bz2
opensim-SC-d28dd8f456d3ccbfa59a1fbd9dc9d072f5381a14.tar.xz
I am a freaking idiot.
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 }