diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/RegionServer.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/RegionServer.cs b/OpenSim/RegionServer.cs index 0244116..db70203 100644 --- a/OpenSim/RegionServer.cs +++ b/OpenSim/RegionServer.cs | |||
@@ -18,6 +18,7 @@ namespace OpenSim | |||
18 | bool startLoginServer = false; | 18 | bool startLoginServer = false; |
19 | string physicsEngine = "basicphysics"; | 19 | string physicsEngine = "basicphysics"; |
20 | bool allowFlying = false; | 20 | bool allowFlying = false; |
21 | bool userAccounts = false; | ||
21 | 22 | ||
22 | for (int i = 0; i < args.Length; i++) | 23 | for (int i = 0; i < args.Length; i++) |
23 | { | 24 | { |
@@ -30,6 +31,10 @@ namespace OpenSim | |||
30 | { | 31 | { |
31 | startLoginServer = true; | 32 | startLoginServer = true; |
32 | } | 33 | } |
34 | if (args[i] == "-accounts") | ||
35 | { | ||
36 | userAccounts = true; | ||
37 | } | ||
33 | if (args[i] == "-realphysx") | 38 | if (args[i] == "-realphysx") |
34 | { | 39 | { |
35 | physicsEngine = "RealPhysX"; | 40 | physicsEngine = "RealPhysX"; |
@@ -44,6 +49,7 @@ namespace OpenSim | |||
44 | OpenSimMain sim = new OpenSimMain( sandBoxMode, startLoginServer, physicsEngine ); | 49 | OpenSimMain sim = new OpenSimMain( sandBoxMode, startLoginServer, physicsEngine ); |
45 | // OpenSimRoot.Instance.Application = sim; | 50 | // OpenSimRoot.Instance.Application = sim; |
46 | sim.m_sandbox = sandBoxMode; | 51 | sim.m_sandbox = sandBoxMode; |
52 | sim.user_accounts = userAccounts; | ||
47 | OpenSim.world.Avatar.PhysicsEngineFlying = allowFlying; | 53 | OpenSim.world.Avatar.PhysicsEngineFlying = allowFlying; |
48 | 54 | ||
49 | sim.StartUp(); | 55 | sim.StartUp(); |