diff options
author | Brian McBee | 2007-08-04 14:13:02 +0000 |
---|---|---|
committer | Brian McBee | 2007-08-04 14:13:02 +0000 |
commit | bb60d8753881196db14921e60abcef65cdf3d1a4 (patch) | |
tree | 1f8b12d6f3ebe19bd9d53da28d0d31c30c64b00e /OpenSim/Region | |
parent | * More work on PermissionManager - going AFK for a bit. (diff) | |
download | opensim-SC_OLD-bb60d8753881196db14921e60abcef65cdf3d1a4.zip opensim-SC_OLD-bb60d8753881196db14921e60abcef65cdf3d1a4.tar.gz opensim-SC_OLD-bb60d8753881196db14921e60abcef65cdf3d1a4.tar.bz2 opensim-SC_OLD-bb60d8753881196db14921e60abcef65cdf3d1a4.tar.xz |
OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
Fix for terraforming: now works across the region, not just when x=y! Wahoo!
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index 1e0e978..bd66c02 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -162,7 +162,7 @@ namespace OpenSim.Region.Terrain | |||
162 | 162 | ||
163 | for (i = 0; i < w * h; i++) | 163 | for (i = 0; i < w * h; i++) |
164 | { | 164 | { |
165 | heights[i] = (float)heightmap.map[i / w, i % w]; | 165 | heights[i] = (float)heightmap.map[i % w, i / w]; |
166 | } | 166 | } |
167 | 167 | ||
168 | return heights; | 168 | return heights; |