I am a freaking idiot.
parent
0879e6427e
commit
d28dd8f456
|
@ -25,7 +25,7 @@ namespace OpenSim.Terrain
|
|||
float[] heights = new float[w*h];
|
||||
int i;
|
||||
for(i=0;i<w*h;i++) {
|
||||
heights[i] = (int)(i / w) + (i % w);
|
||||
heights[i] = map[i / w, i % w];
|
||||
}
|
||||
return heights;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue