mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
I am a freaking idiot.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user