diff options
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/Simulator/World.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/Simulator/World.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/OpenSim.RegionServer/Simulator/World.cs b/OpenSim/OpenSim.RegionServer/Simulator/World.cs index 150a092..b4e4f49 100644 --- a/OpenSim/OpenSim.RegionServer/Simulator/World.cs +++ b/OpenSim/OpenSim.RegionServer/Simulator/World.cs | |||
@@ -463,7 +463,7 @@ namespace OpenSim.RegionServer.Simulator | |||
463 | float[] map = this.localStorage.LoadWorld(); | 463 | float[] map = this.localStorage.LoadWorld(); |
464 | if (map == null) | 464 | if (map == null) |
465 | { | 465 | { |
466 | if (string.IsNullOrEmpty(this.m_regInfo.TerrainFile)) | 466 | if (string.IsNullOrEmpty(this.m_regInfo.estateSettings.terrainFile)) |
467 | { | 467 | { |
468 | Console.WriteLine("No default terrain, procedurally generating..."); | 468 | Console.WriteLine("No default terrain, procedurally generating..."); |
469 | this.Terrain.hills(); | 469 | this.Terrain.hills(); |
@@ -474,8 +474,8 @@ namespace OpenSim.RegionServer.Simulator | |||
474 | { | 474 | { |
475 | try | 475 | try |
476 | { | 476 | { |
477 | this.Terrain.loadFromFileF32(this.m_regInfo.TerrainFile); | 477 | this.Terrain.loadFromFileF32(this.m_regInfo.estateSettings.terrainFile); |
478 | this.Terrain *= this.m_regInfo.TerrainMultiplier; | 478 | this.Terrain *= this.m_regInfo.estateSettings.terrainMultiplier; |
479 | } | 479 | } |
480 | catch (Exception e) | 480 | catch (Exception e) |
481 | { | 481 | { |