diff options
author | mingchen | 2007-06-07 16:29:10 +0000 |
---|---|---|
committer | mingchen | 2007-06-07 16:29:10 +0000 |
commit | 458c6b6f1687a63c7b443a8e76ee31da75c99247 (patch) | |
tree | a96d8c96f7da66344f83fbdc2c15c3e421230e34 /OpenSim/OpenSim.RegionServer/Simulator/World.cs | |
parent | Fixed SVN: All Done! Sorry for the delay (3 / 3) (diff) | |
download | opensim-SC_OLD-458c6b6f1687a63c7b443a8e76ee31da75c99247.zip opensim-SC_OLD-458c6b6f1687a63c7b443a8e76ee31da75c99247.tar.gz opensim-SC_OLD-458c6b6f1687a63c7b443a8e76ee31da75c99247.tar.bz2 opensim-SC_OLD-458c6b6f1687a63c7b443a8e76ee31da75c99247.tar.xz |
*Added EstateSettings.cs and moved many relevant variables from RegionInfoBase to EstateSettings class and added an EstateSettings objection to RegionInfoBase
*Added a few missed copyright headers
*Fixed a filename typo
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 | { |