OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs

Fix for terraforming: now works across the region, not just when x=y! Wahoo!
afrisby
Brian McBee 2007-08-04 14:13:02 +00:00
parent e970ee2955
commit bb60d87538
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ namespace OpenSim.Region.Terrain
for (i = 0; i < w * h; i++)
{
heights[i] = (float)heightmap.map[i / w, i % w];
heights[i] = (float)heightmap.map[i % w, i / w];
}
return heights;