diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-12 19:24:36 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-12 19:24:36 +0000 |
commit | 9cfae239a98e891773f9279611ad078bda542408 (patch) | |
tree | 56d790c9b1d8a22f5838dbeedf7eef0ed3b9a8f4 /indra/newview/llagent.cpp | |
parent | 773e8eb8ea3acc75b0e8137412458f77effffb70 (diff) | |
parent | dc8a9dc57d41723338a0881a29c5652924977ccf (diff) |
viewer2 merge.
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r-- | indra/newview/llagent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 2c6931b04a..37c03d9d68 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -5030,9 +5030,9 @@ void LLAgent::buildFullnameAndTitle(std::string& name) const } } -BOOL LLAgent::isInGroup(const LLUUID& group_id) const +BOOL LLAgent::isInGroup(const LLUUID& group_id, BOOL ingnore_God_mod /* FALSE */) const { - if (isGodlike()) + if (!ingnore_God_mod && isGodlike()) return true; S32 count = mGroups.count(); |