From f6e9b9404f78401ac5a04b9cfad34c4169ee326e Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sat, 9 Feb 2008 10:41:36 +0000 Subject: Applied patch from mirceakitsune to fix #502 (lower land does the same as raise land) --- .../Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing') 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 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)); } } } -- cgit v1.1