diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpaneldirplaces.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llpaneldirplaces.cpp b/linden/indra/newview/llpaneldirplaces.cpp index 67414e7..ccffc02 100644 --- a/linden/indra/newview/llpaneldirplaces.cpp +++ b/linden/indra/newview/llpaneldirplaces.cpp | |||
@@ -182,7 +182,8 @@ void LLPanelDirPlaces::performQuery() | |||
182 | bool adult_enabled = gAgent.canAccessAdult(); | 182 | bool adult_enabled = gAgent.canAccessAdult(); |
183 | bool mature_enabled = gAgent.canAccessMature(); | 183 | bool mature_enabled = gAgent.canAccessMature(); |
184 | 184 | ||
185 | if( gSavedSettings.getBOOL("ShowPGSims")) | 185 | if (gSavedSettings.getBOOL("ShowPGSims") || |
186 | (!adult_enabled && !mature_enabled)) // if they can't have either of the others checked, force this one true | ||
186 | { | 187 | { |
187 | flags |= DFQ_INC_PG; | 188 | flags |= DFQ_INC_PG; |
188 | } | 189 | } |