aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World
diff options
context:
space:
mode:
authorMelanie2011-04-25 23:18:32 +0100
committerMelanie2011-04-25 23:18:32 +0100
commit9bf5e94b70c045e32e259f282c693c0fcea514a2 (patch)
tree71a6b6029d2cc74cf34fd5e09719f39f9f7a9422 /OpenSim/Region/CoreModules/World
parentMerge branch 'master' into careminster-presence-refactor (diff)
parentMade things consistent between LocalInventoryServiceConnector and RemoteXInve... (diff)
downloadopensim-SC_OLD-9bf5e94b70c045e32e259f282c693c0fcea514a2.zip
opensim-SC_OLD-9bf5e94b70c045e32e259f282c693c0fcea514a2.tar.gz
opensim-SC_OLD-9bf5e94b70c045e32e259f282c693c0fcea514a2.tar.bz2
opensim-SC_OLD-9bf5e94b70c045e32e259f282c693c0fcea514a2.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r--OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
index 598948a..7d5f109 100644
--- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
@@ -127,7 +127,10 @@ namespace OpenSim.Region.CoreModules.World.Estate
127 else 127 else
128 Scene.RegionInfo.RegionSettings.AllowLandResell = true; 128 Scene.RegionInfo.RegionSettings.AllowLandResell = true;
129 129
130 Scene.RegionInfo.RegionSettings.AgentLimit = (byte) maxAgents; 130 if((byte)maxAgents <= Scene.RegionInfo.AgentCapacity)
131 Scene.RegionInfo.RegionSettings.AgentLimit = (byte) maxAgents;
132 else
133 Scene.RegionInfo.RegionSettings.AgentLimit = Scene.RegionInfo.AgentCapacity;
131 134
132 Scene.RegionInfo.RegionSettings.ObjectBonus = objectBonusFactor; 135 Scene.RegionInfo.RegionSettings.ObjectBonus = objectBonusFactor;
133 136