aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain
diff options
context:
space:
mode:
authorJeff Ames2008-02-09 10:41:36 +0000
committerJeff Ames2008-02-09 10:41:36 +0000
commitf6e9b9404f78401ac5a04b9cfad34c4169ee326e (patch)
treee3bebb383fb0ff25134fe44c856e366d90dce916 /OpenSim/Region/Terrain.BasicTerrain
parent* Fixed nebadon's UserServer crash bug from yesterday. (diff)
downloadopensim-SC_OLD-f6e9b9404f78401ac5a04b9cfad34c4169ee326e.zip
opensim-SC_OLD-f6e9b9404f78401ac5a04b9cfad34c4169ee326e.tar.gz
opensim-SC_OLD-f6e9b9404f78401ac5a04b9cfad34c4169ee326e.tar.bz2
opensim-SC_OLD-f6e9b9404f78401ac5a04b9cfad34c4169ee326e.tar.xz
Applied patch from mirceakitsune to fix #502 (lower land does the same as raise land)
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs
index 0173400..523a065 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs
@@ -123,7 +123,7 @@ namespace libTerrain
123 z -= ((x - rx)*(x - rx)) + ((y - ry)*(y - ry)); 123 z -= ((x - rx)*(x - rx)) + ((y - ry)*(y - ry));
124 124
125 if (z > 0.0) 125 if (z > 0.0)
126 Set(x, y, map[x, y] + (z * amount)); 126 Set(x, y, map[x, y] - (z * amount));
127 } 127 }
128 } 128 }
129 } 129 }