aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt5
-rw-r--r--linden/indra/newview/llnetmap.cpp6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 7653e53..f3eb892 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -32,6 +32,11 @@
32 modified: linden/indra/newview/llfloatermap.cpp 32 modified: linden/indra/newview/llfloatermap.cpp
33 modified: linden/indra/newview/llfloatermap.h 33 modified: linden/indra/newview/llfloatermap.h
34 modified: linden/indra/newview/llnetmap.cpp 34 modified: linden/indra/newview/llnetmap.cpp
35
36
37 * Fixed bad RLVa behavior in minimap.
38
39 modified: linden/indra/newview/llnetmap.cpp
35 40
36 41
372009-09-14 McCabe Maxsted <hakushakukun@gmail.com> 422009-09-14 McCabe Maxsted <hakushakukun@gmail.com>
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 );