Hide "Notes" indicator in radar if RLVa shownames restriction is set

Ansariel 2014-11-18 16:08:01 +01:00
parent 0cbfb124ac
commit 2c8a62a6aa
1 changed files with 2 additions and 1 deletions

View File

@ -509,10 +509,10 @@ void FSRadar::updateRadarList()
entry["range"] = (avRange > AVATAR_UNKNOWN_RANGE ? llformat("%3.2f", avRange) : llformat(">%3.2f", drawRadius));
entry["typing"] = (avVo && avVo->isTyping());
entry["sitting"] = (avVo && (avVo->getParent() || avVo->isMotionActive(ANIM_AGENT_SIT_GROUND) || avVo->isMotionActive(ANIM_AGENT_SIT_GROUND_CONSTRAINED)));
entry["has_notes"] = ent->hasNotes();
if (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES))
{
entry["has_notes"] = ent->hasNotes();
entry["age"] = (avAge > -1 ? llformat("%d", avAge) : "");
if (ent->hasAlertAge())
{
@ -531,6 +531,7 @@ void FSRadar::updateRadarList()
}
else
{
entry["has_notes"] = false;
entry["age"] = "---";
}