From f6e9b9404f78401ac5a04b9cfad34c4169ee326e Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sat, 9 Feb 2008 10:41:36 +0000 Subject: [PATCH] Applied patch from mirceakitsune to fix #502 (lower land does the same as raise land) --- .../Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs index 0173400c9b..523a065c4e 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 z -= ((x - rx)*(x - rx)) + ((y - ry)*(y - ry)); if (z > 0.0) - Set(x, y, map[x, y] + (z * amount)); + Set(x, y, map[x, y] - (z * amount)); } } }