diff options
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/FileLoaders/Terragen.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/Terragen.cs b/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/Terragen.cs index 7d5adf9..219011e 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/Terragen.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/FileLoaders/Terragen.cs | |||
@@ -275,9 +275,9 @@ namespace OpenSim.Region.CoreModules.World.Terrain.FileLoaders | |||
275 | bs.Write(enc.GetBytes("ALTW")); | 275 | bs.Write(enc.GetBytes("ALTW")); |
276 | bs.Write(Convert.ToInt16(horizontalScale)); // range between max and min | 276 | bs.Write(Convert.ToInt16(horizontalScale)); // range between max and min |
277 | bs.Write(Convert.ToInt16(baseHeight)); // base height or mid point | 277 | bs.Write(Convert.ToInt16(baseHeight)); // base height or mid point |
278 | 278 | ||
279 | double factor = 65536.0 / horizontalScale; // avoid computing this on each iteration | 279 | double factor = 65536.0 / horizontalScale; // avoid computing this on each iteration |
280 | 280 | ||
281 | for (int y = 0; y < map.Height; y++) | 281 | for (int y = 0; y < map.Height; y++) |
282 | { | 282 | { |
283 | for (int x = 0; x < map.Width; x++) | 283 | for (int x = 0; x < map.Width; x++) |