aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-09-16 00:13:59 -0700
committerMcCabe Maxsted2009-09-16 00:13:59 -0700
commit276fc94aed832b13a17e13b57641a22d705e4e38 (patch)
treec76f4552c77ebb537a506d4b307b678d5354cbf2 /linden
parentSome code cleanup (diff)
downloadmeta-impy-276fc94aed832b13a17e13b57641a22d705e4e38.zip
meta-impy-276fc94aed832b13a17e13b57641a22d705e4e38.tar.gz
meta-impy-276fc94aed832b13a17e13b57641a22d705e4e38.tar.bz2
meta-impy-276fc94aed832b13a17e13b57641a22d705e4e38.tar.xz
Fixed bad RLVa behavior in minimap
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llnetmap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llnetmap.cpp b/linden/indra/newview/llnetmap.cpp
index 1f6f6bd..c1a25f9 100644
--- a/linden/indra/newview/llnetmap.cpp
+++ b/linden/indra/newview/llnetmap.cpp
@@ -367,7 +367,7 @@ void LLNetMap::draw()
367 } 367 }
368 368
369// [RLVa:KB] 369// [RLVa:KB]
370 if ( !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) ) 370 if ( rlv_handler_t::isEnabled() && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) )
371 { 371 {
372 // User is not allowed to see who it is, or even if it's a friend, 372 // User is not allowed to see who it is, or even if it's a friend,
373 // due to RLV settings. 373 // due to RLV settings.
@@ -575,7 +575,7 @@ BOOL LLNetMap::handleToolTip( S32 x, S32 y, std::string& msg, LLRect* sticky_rec
575 if(mClosestAgentToCursor.notNull() && gCacheName->getFullName(mClosestAgentToCursor, fullname)) 575 if(mClosestAgentToCursor.notNull() && gCacheName->getFullName(mClosestAgentToCursor, fullname))
576 { 576 {
577// [RLVa:KB] 577// [RLVa:KB]
578 if ( !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) ) 578 if ( rlv_handler_t::isEnabled() && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) )
579 { 579 {
580 // User is not allowed to see who it is, due to RLV settings. 580 // User is not allowed to see who it is, due to RLV settings.
581 msg.append(rlv_handler_t::cstrHidden); 581 msg.append(rlv_handler_t::cstrHidden);
@@ -589,7 +589,7 @@ BOOL LLNetMap::handleToolTip( S32 x, S32 y, std::string& msg, LLRect* sticky_rec
589 } 589 }
590 590
591// [RLVa:KB] 591// [RLVa:KB]
592 if (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) 592 if (rlv_handler_t::isEnabled() && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC))
593 { 593 {
594 // User is not allowed to see where they are, due to RLV settings. 594 // User is not allowed to see where they are, due to RLV settings.
595 msg.append( rlv_handler_t::cstrHidden ); 595 msg.append( rlv_handler_t::cstrHidden );