diff options
Diffstat (limited to 'linden/indra/newview/panelradar.cpp')
-rw-r--r-- | linden/indra/newview/panelradar.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/linden/indra/newview/panelradar.cpp b/linden/indra/newview/panelradar.cpp index c94c0d1..ad6efc2 100644 --- a/linden/indra/newview/panelradar.cpp +++ b/linden/indra/newview/panelradar.cpp | |||
@@ -408,7 +408,6 @@ void PanelRadar::updateButtonStates() | |||
408 | static bool enable_unmute = false; | 408 | static bool enable_unmute = false; |
409 | static bool enable_track = false; | 409 | static bool enable_track = false; |
410 | static bool enable_estate = false; | 410 | static bool enable_estate = false; |
411 | static bool enable_friend = false; | ||
412 | static bool enable_cam = false; | 411 | static bool enable_cam = false; |
413 | 412 | ||
414 | if (mRadarTabs->getCurrentPanelIndex() == 0) // Avatar tab | 413 | if (mRadarTabs->getCurrentPanelIndex() == 0) // Avatar tab |
@@ -426,7 +425,6 @@ void PanelRadar::updateButtonStates() | |||
426 | enable_estate = isKickable(mSelectedAvatar); | 425 | enable_estate = isKickable(mSelectedAvatar); |
427 | enable_unmute = LLMuteList::getInstance()->isMuted(mSelectedAvatar); | 426 | enable_unmute = LLMuteList::getInstance()->isMuted(mSelectedAvatar); |
428 | enable_track = gAgent.isGodlike() || is_agent_mappable(mSelectedAvatar); | 427 | enable_track = gAgent.isGodlike() || is_agent_mappable(mSelectedAvatar); |
429 | enable_friend = !is_agent_friend(mSelectedAvatar); | ||
430 | enable_cam = mSelectedDistance >= 0 && mSelectedDistance <= gSavedSettings.getF32("NearMeRange"); | 428 | enable_cam = mSelectedDistance >= 0 && mSelectedDistance <= gSavedSettings.getF32("NearMeRange"); |
431 | } | 429 | } |
432 | else | 430 | else |
@@ -436,7 +434,6 @@ void PanelRadar::updateButtonStates() | |||
436 | enable_estate = false; | 434 | enable_estate = false; |
437 | enable_unmute = false; | 435 | enable_unmute = false; |
438 | enable_track = false; | 436 | enable_track = false; |
439 | enable_friend = false; | ||
440 | enable_cam = false; | 437 | enable_cam = false; |
441 | } | 438 | } |
442 | 439 | ||