aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/WeatherSphere.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/WeatherSphere.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/WeatherSphere.cs b/OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/WeatherSphere.cs
index 17207f8..bede47e 100644
--- a/OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/WeatherSphere.cs
+++ b/OpenSim/Region/Environment/Modules/Terrain/PaintBrushes/WeatherSphere.cs
@@ -211,13 +211,13 @@ namespace OpenSim.Region.Environment.Modules.Terrain.PaintBrushes
211 coords[1] += y; 211 coords[1] += y;
212 212
213 if (coords[0] > map.Width - 1) 213 if (coords[0] > map.Width - 1)
214 coords[0] = map.Width - 1; 214 continue;
215 if (coords[1] > map.Height - 1) 215 if (coords[1] > map.Height - 1)
216 coords[1] = map.Height - 1; 216 continue;
217 if (coords[0] < 0) 217 if (coords[0] < 0)
218 coords[0] = 0; 218 continue;
219 if (coords[1] < 0) 219 if (coords[1] < 0)
220 coords[1] = 0; 220 continue;
221 221
222 double heightF = map[x, y]; 222 double heightF = map[x, y];
223 double target = map[coords[0], coords[1]]; 223 double target = map[coords[0], coords[1]];