aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Terrain
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Terrain')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs
index 3deb458..db3fef7 100644
--- a/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs
+++ b/OpenSim/Region/Environment/Modules/World/Terrain/PaintBrushes/RevertSphere.cs
@@ -72,7 +72,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes
72 if (z > 0.0) 72 if (z > 0.0)
73 { 73 {
74 z *= duration; 74 z *= duration;
75 map[x, y] += (map[x, y] * (1.0 - z)) + (m_revertmap[x, y] * z); 75 map[x, y] = (map[x, y] * (1.0 - z)) + (m_revertmap[x, y] * z);
76 } 76 }
77 } 77 }
78 } 78 }
@@ -80,4 +80,4 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.PaintBrushes
80 80
81 #endregion 81 #endregion
82 } 82 }
83} \ No newline at end of file 83}