summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-02-12 17:13:55 -0500
committerLoren Shih <seraph@lindenlab.com>2010-02-12 17:13:55 -0500
commit2cabf100e22d4f54ebd0ea6ea20b88985a5654c4 (patch)
treea410a41598caf63aeef39b2d0c40741ac372c10f /indra/newview/llagent.cpp
parentdce57c6b80b1286889da1a6cadda05c864a31851 (diff)
parent21be0916a4b707654e99a8c6c734d24e4bb5da7c (diff)
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 59f61dfdfb..3675be16e9 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -5027,9 +5027,9 @@ void LLAgent::buildFullnameAndTitle(std::string& name) const
}
}
-BOOL LLAgent::isInGroup(const LLUUID& group_id) const
+BOOL LLAgent::isInGroup(const LLUUID& group_id, BOOL ignore_god_mode /* FALSE */) const
{
- if (isGodlike())
+ if (!ignore_god_mode && isGodlike())
return true;
S32 count = mGroups.count();