From eb7ca40139e6192125b05713eff09e30ed2e3ef1 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sun, 27 May 2007 09:57:04 +0000 Subject: * Fixed dumb mistake with terrain default loading. --- OpenSim/OpenSim.RegionServer/RegionInfo.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/OpenSim.RegionServer/RegionInfo.cs') diff --git a/OpenSim/OpenSim.RegionServer/RegionInfo.cs b/OpenSim/OpenSim.RegionServer/RegionInfo.cs index 1608f4b..c42b434 100644 --- a/OpenSim/OpenSim.RegionServer/RegionInfo.cs +++ b/OpenSim/OpenSim.RegionServer/RegionInfo.cs @@ -202,6 +202,10 @@ namespace OpenSim this.TerrainFile = OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain file default", "default.r32"); configData.SetAttribute("TerrainFile", this.TerrainFile); } + else + { + this.TerrainFile = attri; + } attri = ""; attri = configData.GetAttribute("TerrainMultiplier"); @@ -210,6 +214,10 @@ namespace OpenSim this.TerrainMultiplier = Convert.ToDouble(OpenSim.Framework.Console.MainConsole.Instance.CmdPrompt("Terrain multiplier", "60.0")); configData.SetAttribute("TerrainMultiplier", this.TerrainMultiplier.ToString()); } + else + { + this.TerrainMultiplier = Convert.ToDouble(attri); + } if (!isSandbox) -- cgit v1.1