aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-07-24 05:22:33 +0000
committerAdam Frisby2007-07-24 05:22:33 +0000
commitd8997b59d30b63218f594d840d924a10287ce509 (patch)
treef96960b2605c8da0d6b0a0d9a905db28a62fca67 /OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs
parent* Terrain Fracture Generator now produces more appropriate results. (diff)
downloadopensim-SC-d8997b59d30b63218f594d840d924a10287ce509.zip
opensim-SC-d8997b59d30b63218f594d840d924a10287ce509.tar.gz
opensim-SC-d8997b59d30b63218f594d840d924a10287ce509.tar.bz2
opensim-SC-d8997b59d30b63218f594d840d924a10287ce509.tar.xz
* Terrain should now send just updated patches.
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs
index 7bccef3..1d04a4f 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Editing/Raise.cs
@@ -68,7 +68,7 @@ namespace libTerrain
68 if (z < 0) 68 if (z < 0)
69 z = 0; 69 z = 0;
70 70
71 map[x, y] += z * amount; 71 Set(x, y, map[x, y] + (z * amount));
72 } 72 }
73 } 73 }
74 } 74 }
@@ -93,7 +93,7 @@ namespace libTerrain
93 if (z < 0) 93 if (z < 0)
94 z = 0; 94 z = 0;
95 95
96 map[x, y] += z * amount; 96 Set(x, y, map[x, y] + (z * amount));
97 } 97 }
98 } 98 }
99 } 99 }
@@ -131,7 +131,7 @@ namespace libTerrain
131 if (z < 0) 131 if (z < 0)
132 z = 0; 132 z = 0;
133 133
134 map[x, y] -= z * amount; 134 Set(x, y, map[x, y] - (z * amount));
135 } 135 }
136 } 136 }
137 } 137 }