diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs index 507bcf4..639257c 100644 --- a/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs +++ b/OpenSim/Region/Environment/Modules/Terrain/TerrainModule.cs | |||
@@ -392,7 +392,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain | |||
392 | if (m_painteffects.ContainsKey((StandardTerrainEffects)action)) | 392 | if (m_painteffects.ContainsKey((StandardTerrainEffects)action)) |
393 | { | 393 | { |
394 | m_painteffects[(StandardTerrainEffects)action].PaintEffect( | 394 | m_painteffects[(StandardTerrainEffects)action].PaintEffect( |
395 | m_channel, west, south, Math.Pow(size, 2.0), seconds); | 395 | m_channel, west, south, size, seconds); |
396 | 396 | ||
397 | bool usingTerrainModule = true; | 397 | bool usingTerrainModule = true; |
398 | 398 | ||
@@ -421,7 +421,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain | |||
421 | { | 421 | { |
422 | if (x < east && x > west) | 422 | if (x < east && x > west) |
423 | { | 423 | { |
424 | if (y < south && y > north) | 424 | if (y < north && y > south) |
425 | { | 425 | { |
426 | fillArea[x, y] = true; | 426 | fillArea[x, y] = true; |
427 | } | 427 | } |
@@ -430,7 +430,7 @@ namespace OpenSim.Region.Environment.Modules.Terrain | |||
430 | } | 430 | } |
431 | 431 | ||
432 | m_floodeffects[(StandardTerrainEffects)action].FloodEffect( | 432 | m_floodeffects[(StandardTerrainEffects)action].FloodEffect( |
433 | m_channel, fillArea, Math.Pow(size, 2.0)); | 433 | m_channel, fillArea, size); |
434 | bool usingTerrainModule = true; | 434 | bool usingTerrainModule = true; |
435 | 435 | ||
436 | if (usingTerrainModule) | 436 | if (usingTerrainModule) |