diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index 7f60ae2..7130e4b 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -352,6 +352,11 @@ namespace OpenSim.Region.Terrain | |||
352 | tainted++; | 352 | tainted++; |
353 | break; | 353 | break; |
354 | 354 | ||
355 | case "add": | ||
356 | heightmap += Convert.ToDouble(args[1]); | ||
357 | tainted++; | ||
358 | break; | ||
359 | |||
355 | case "multiply": | 360 | case "multiply": |
356 | heightmap *= Convert.ToDouble(args[1]); | 361 | heightmap *= Convert.ToDouble(args[1]); |
357 | tainted++; | 362 | tainted++; |