diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 72348b9..3972ec9 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -4398,7 +4398,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4398 | updateMessage.SequenceID = sequence_id; | 4398 | updateMessage.SequenceID = sequence_id; |
4399 | if (landData.SimwideArea > 0) | 4399 | if (landData.SimwideArea > 0) |
4400 | { | 4400 | { |
4401 | updateMessage.SimWideMaxPrims = parcelObjectCapacity; | 4401 | int simulatorCapacity = (int)(((float)landData.SimwideArea / 65536.0f) * (float)m_scene.RegionInfo.ObjectCapacity * (float)m_scene.RegionInfo.RegionSettings.ObjectBonus); |
4402 | updateMessage.SimWideMaxPrims = simulatorCapacity; | ||
4402 | } | 4403 | } |
4403 | else | 4404 | else |
4404 | { | 4405 | { |