aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llnetmap.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-09-22 21:03:08 -0700
committerMcCabe Maxsted2009-09-22 21:05:45 -0700
commit0ef8e99a361d253b2709cf8fc4717e65aa54485f (patch)
treef3ee224e612f3af6fb28579b411a50aa5d3722ec /linden/indra/newview/llnetmap.cpp
parentDisplay selected avatars larger than normal, zoom in at a reasonable speed. I... (diff)
downloadmeta-impy-0ef8e99a361d253b2709cf8fc4717e65aa54485f.zip
meta-impy-0ef8e99a361d253b2709cf8fc4717e65aa54485f.tar.gz
meta-impy-0ef8e99a361d253b2709cf8fc4717e65aa54485f.tar.bz2
meta-impy-0ef8e99a361d253b2709cf8fc4717e65aa54485f.tar.xz
Fixed RLVa issue in LLNetMap the right way (thanks Kitty)
Diffstat (limited to 'linden/indra/newview/llnetmap.cpp')
-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 cac35b9..97272f4 100644
--- a/linden/indra/newview/llnetmap.cpp
+++ b/linden/indra/newview/llnetmap.cpp
@@ -380,7 +380,7 @@ void LLNetMap::draw()
380 } 380 }
381 381
382// [RLVa:KB] 382// [RLVa:KB]
383 if ( rlv_handler_t::isEnabled() && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) ) 383 if ( gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) )
384 { 384 {
385 // User is not allowed to see who it is, or even if it's a friend, 385 // User is not allowed to see who it is, or even if it's a friend,
386 // due to RLV settings. 386 // due to RLV settings.
@@ -595,7 +595,7 @@ BOOL LLNetMap::handleToolTip( S32 x, S32 y, std::string& msg, LLRect* sticky_rec
595 if(mClosestAgentToCursor.notNull() && gCacheName->getFullName(mClosestAgentToCursor, fullname)) 595 if(mClosestAgentToCursor.notNull() && gCacheName->getFullName(mClosestAgentToCursor, fullname))
596 { 596 {
597// [RLVa:KB] 597// [RLVa:KB]
598 if ( rlv_handler_t::isEnabled() && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) ) 598 if ( gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES) )
599 { 599 {
600 // User is not allowed to see who it is, due to RLV settings. 600 // User is not allowed to see who it is, due to RLV settings.
601 msg.append(rlv_handler_t::cstrHidden); 601 msg.append(rlv_handler_t::cstrHidden);
@@ -609,7 +609,7 @@ BOOL LLNetMap::handleToolTip( S32 x, S32 y, std::string& msg, LLRect* sticky_rec
609 } 609 }
610 610
611// [RLVa:KB] 611// [RLVa:KB]
612 if (rlv_handler_t::isEnabled() && !gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC)) 612 if ( gRlvHandler.hasBehaviour(RLV_BHVR_SHOWLOC) )
613 { 613 {
614 // User is not allowed to see where they are, due to RLV settings. 614 // User is not allowed to see where they are, due to RLV settings.
615 msg.append( rlv_handler_t::cstrHidden ); 615 msg.append( rlv_handler_t::cstrHidden );