diff options
author | McCabe Maxsted | 2009-09-24 22:16:56 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-09-24 22:16:56 -0700 |
commit | 17ecf79fe82391cd5f9f16e975a3762ebde212e0 (patch) | |
tree | c33a01202f42d51eeb7b86266272985f4016505a /linden/indra/newview/llfloatermap.cpp | |
parent | Applied RLVa patch for Imprudence 1.2 by Kitty Barnett (diff) | |
download | meta-impy-17ecf79fe82391cd5f9f16e975a3762ebde212e0.zip meta-impy-17ecf79fe82391cd5f9f16e975a3762ebde212e0.tar.gz meta-impy-17ecf79fe82391cd5f9f16e975a3762ebde212e0.tar.bz2 meta-impy-17ecf79fe82391cd5f9f16e975a3762ebde212e0.tar.xz |
Fixed Add button being enabled for friends in the radar
Diffstat (limited to 'linden/indra/newview/llfloatermap.cpp')
-rw-r--r-- | linden/indra/newview/llfloatermap.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloatermap.cpp b/linden/indra/newview/llfloatermap.cpp index f7f51fd..6d23ab4 100644 --- a/linden/indra/newview/llfloatermap.cpp +++ b/linden/indra/newview/llfloatermap.cpp | |||
@@ -297,12 +297,14 @@ void LLFloaterMap::toggleButtons() | |||
297 | BOOL enable_unmute = FALSE; | 297 | BOOL enable_unmute = FALSE; |
298 | BOOL enable_track = FALSE; | 298 | BOOL enable_track = FALSE; |
299 | BOOL enable_estate = FALSE; | 299 | BOOL enable_estate = FALSE; |
300 | BOOL enable_friend = FALSE; | ||
300 | if (childHasFocus("RadarPanel")) | 301 | if (childHasFocus("RadarPanel")) |
301 | { | 302 | { |
302 | enable = mSelectedAvatar.notNull() ? visibleItemsSelected() : FALSE; | 303 | enable = mSelectedAvatar.notNull() ? visibleItemsSelected() : FALSE; |
303 | enable_unmute = mSelectedAvatar.notNull() ? LLMuteList::getInstance()->isMuted(mSelectedAvatar) : FALSE; | 304 | enable_unmute = mSelectedAvatar.notNull() ? LLMuteList::getInstance()->isMuted(mSelectedAvatar) : FALSE; |
304 | enable_track = gAgent.isGodlike() || is_agent_mappable(mSelectedAvatar); | 305 | enable_track = gAgent.isGodlike() || is_agent_mappable(mSelectedAvatar); |
305 | enable_estate = getKickable(mSelectedAvatar); | 306 | enable_estate = getKickable(mSelectedAvatar); |
307 | enable_friend = !is_agent_friend(mSelectedAvatar); | ||
306 | } | 308 | } |
307 | else | 309 | else |
308 | { | 310 | { |