diff options
author | Jeff Ames | 2008-02-09 10:41:36 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-09 10:41:36 +0000 |
commit | f6e9b9404f78401ac5a04b9cfad34c4169ee326e (patch) | |
tree | e3bebb383fb0ff25134fe44c856e366d90dce916 | |
parent | * Fixed nebadon's UserServer crash bug from yesterday. (diff) | |
download | opensim-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)
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs | 2 |
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 | } |