diff options
author | Armin Weatherwax | 2010-03-29 15:50:33 +0200 |
---|---|---|
committer | Armin Weatherwax | 2010-04-12 17:11:05 +0200 |
commit | 3fbbd9e0b7516d1c170267acc26a767af1fa4b1d (patch) | |
tree | ed49e0dcd64f1244fbbfea6bc844ab2788eaaa50 /linden/indra/newview/llviewermessage.cpp | |
parent | Use Hippogridmanager for OpenSim detection. (diff) | |
download | meta-impy-3fbbd9e0b7516d1c170267acc26a767af1fa4b1d.zip meta-impy-3fbbd9e0b7516d1c170267acc26a767af1fa4b1d.tar.gz meta-impy-3fbbd9e0b7516d1c170267acc26a767af1fa4b1d.tar.bz2 meta-impy-3fbbd9e0b7516d1c170267acc26a767af1fa4b1d.tar.xz |
support more OpenSim limits (number of groups, hollow size)
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r-- | linden/indra/newview/llviewermessage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp index 67dc082..8739f5c 100644 --- a/linden/indra/newview/llviewermessage.cpp +++ b/linden/indra/newview/llviewermessage.cpp | |||
@@ -655,7 +655,7 @@ bool join_group_response(const LLSD& notification, const LLSD& response) | |||
655 | if(option == 0 && !group_id.isNull()) | 655 | if(option == 0 && !group_id.isNull()) |
656 | { | 656 | { |
657 | // check for promotion or demotion. | 657 | // check for promotion or demotion. |
658 | S32 max_groups = MAX_AGENT_GROUPS; | 658 | S32 max_groups = gHippoLimits->getMaxAgentGroups(); |
659 | if(gAgent.isInGroup(group_id)) ++max_groups; | 659 | if(gAgent.isInGroup(group_id)) ++max_groups; |
660 | 660 | ||
661 | if(gAgent.mGroups.count() < max_groups) | 661 | if(gAgent.mGroups.count() < max_groups) |