summaryrefslogtreecommitdiff
path: root/indra/newview/llworldmapview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llworldmapview.cpp')
-rw-r--r--indra/newview/llworldmapview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp
index 08d8aade87..188591d1f9 100644
--- a/indra/newview/llworldmapview.cpp
+++ b/indra/newview/llworldmapview.cpp
@@ -621,7 +621,9 @@ void LLWorldMapView::draw()
}
// If this is mature, and you are not, draw a line across it
- if (info->mAccess != SIM_ACCESS_DOWN && info->mAccess > gAgent.mAccess)
+ if (info->mAccess != SIM_ACCESS_DOWN
+ && info->mAccess > SIM_ACCESS_PG
+ && gAgent.isTeen())
{
glBlendFunc(GL_DST_ALPHA, GL_ZERO);