aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index f965c41..7eb90a8 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -111,11 +111,11 @@ namespace OpenSim.Region.Terrain
111 { 111 {
112 if ((heightmap.get(x, y) > revertmap.get(x, y) + maxRaise)) 112 if ((heightmap.get(x, y) > revertmap.get(x, y) + maxRaise))
113 { 113 {
114 heightmap.map[x, y] = revertmap(x, y) + maxRaise; 114 heightmap.map[x, y] = revertmap.get(x, y) + maxRaise;
115 } 115 }
116 if ((heightmap.get(x, y) > revertmap.get(x, y) - minLower)) 116 if ((heightmap.get(x, y) > revertmap.get(x, y) - minLower))
117 { 117 {
118 heightmap.map[x, y] = revertmap(x, y) - minLower; 118 heightmap.map[x, y] = revertmap.get(x, y) - minLower;
119 } 119 }
120 } 120 }
121 } 121 }