aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
authorDiva Canto2009-09-09 11:02:31 -0700
committerDiva Canto2009-09-09 11:02:31 -0700
commit5bf288745d63f057fc5a715e0f67dc3eba0e6dba (patch)
treeb9488c4cfafa59029c63f78cad55223233714340 /OpenSim/Region/Application/OpenSim.cs
parentMerge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-5bf288745d63f057fc5a715e0f67dc3eba0e6dba.zip
opensim-SC_OLD-5bf288745d63f057fc5a715e0f67dc3eba0e6dba.tar.gz
opensim-SC_OLD-5bf288745d63f057fc5a715e0f67dc3eba0e6dba.tar.bz2
opensim-SC_OLD-5bf288745d63f057fc5a715e0f67dc3eba0e6dba.tar.xz
De-hardcode default home locations on create user (standalone).
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 38874f9..e6ddb5b 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -1042,6 +1042,14 @@ namespace OpenSim
1042 uint regX = 1000; 1042 uint regX = 1000;
1043 uint regY = 1000; 1043 uint regY = 1000;
1044 1044
1045 IConfig standalone;
1046 if ((standalone = m_config.Source.Configs["StandAlone"]) != null)
1047 {
1048 regX = (uint)standalone.GetInt("default_location_x", (int)regX);
1049 regY = (uint)standalone.GetInt("default_location_y", (int)regY);
1050 }
1051
1052
1045 if (cmdparams.Length < 3) 1053 if (cmdparams.Length < 3)
1046 firstName = MainConsole.Instance.CmdPrompt("First name", "Default"); 1054 firstName = MainConsole.Instance.CmdPrompt("First name", "Default");
1047 else firstName = cmdparams[2]; 1055 else firstName = cmdparams[2];