aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/RegionInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/RegionInfo.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/RegionInfo.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/RegionInfo.cs b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
index f82495a..60a5861 100644
--- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs
@@ -175,6 +175,24 @@ namespace OpenSim
175 { 175 {
176 this.IPListenAddr = attri; 176 this.IPListenAddr = attri;
177 } 177 }
178
179 // Terrain Default File
180 attri = "";
181 attri = configData.GetAttribute("TerrainFile");
182 if (attri == "")
183 {
184 this.TerrainFile = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain file default", "default.r32");
185 configData.SetAttribute("TerrainFile", this.TerrainFile);
186 }
187
188 attri = "";
189 attri = configData.GetAttribute("TerrainMultiplier");
190 if (attri == "")
191 {
192 this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0"));
193 configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString());
194 }
195
178 196
179 if (!isSandbox) 197 if (!isSandbox)
180 { 198 {