diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Terrain/FloodBrushes/FlattenArea.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/FloodBrushes/FlattenArea.cs b/OpenSim/Region/Environment/Modules/World/Terrain/FloodBrushes/FlattenArea.cs index 496da63..f3c8a13 100644 --- a/OpenSim/Region/Environment/Modules/World/Terrain/FloodBrushes/FlattenArea.cs +++ b/OpenSim/Region/Environment/Modules/World/Terrain/FloodBrushes/FlattenArea.cs | |||
@@ -37,7 +37,6 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.FloodBrushes | |||
37 | { | 37 | { |
38 | double sum = 0.0; | 38 | double sum = 0.0; |
39 | double steps = 0.0; | 39 | double steps = 0.0; |
40 | double avg; | ||
41 | 40 | ||
42 | int x, y; | 41 | int x, y; |
43 | for (x = 0; x < map.Width; x++) | 42 | for (x = 0; x < map.Width; x++) |
@@ -52,7 +51,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.FloodBrushes | |||
52 | } | 51 | } |
53 | } | 52 | } |
54 | 53 | ||
55 | avg = sum / steps; | 54 | double avg = sum / steps; |
56 | 55 | ||
57 | double str = 0.1 * strength; // == 0.2 in the default client | 56 | double str = 0.1 * strength; // == 0.2 in the default client |
58 | 57 | ||