From 1ffb5aa6fee933269d23decd6831840a8b14e72f Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Thu, 6 Dec 2012 22:17:44 -0500 Subject: [PATCH] LLFloaterAvatarList RLVa: Don't announce people are in range when the user is blind. --- indra/newview/llfloateravatarlist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/llfloateravatarlist.cpp b/indra/newview/llfloateravatarlist.cpp index b7bfb850c..1655c2714 100644 --- a/indra/newview/llfloateravatarlist.cpp +++ b/indra/newview/llfloateravatarlist.cpp @@ -83,6 +83,7 @@ typedef enum e_radar_alert_type void chat_avatar_status(std::string name, LLUUID key, ERadarAlertType type, bool entering) { + if(gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES)) return; //RLVa:LF Don't announce people are around when blind, that cheats the system. static LLCachedControl radar_chat_alerts(gSavedSettings, "RadarChatAlerts"); if (!radar_chat_alerts) return; static LLCachedControl radar_alert_sim(gSavedSettings, "RadarAlertSim");