aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterclothing.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterclothing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterclothing.cpp b/linden/indra/newview/llfloaterclothing.cpp
index fd3812c..e0ef360 100644
--- a/linden/indra/newview/llfloaterclothing.cpp
+++ b/linden/indra/newview/llfloaterclothing.cpp
@@ -359,7 +359,7 @@ BOOL wearable_can_take_off(EWearableType wearable_type)
359 case WT_UNDERSHIRT: 359 case WT_UNDERSHIRT:
360 case WT_UNDERPANTS: 360 case WT_UNDERPANTS:
361 // can't take off underpants with PG accounts 361 // can't take off underpants with PG accounts
362 return (gAgent.mAccess >= SIM_ACCESS_MATURE); 362 return (!gAgent.isTeen());
363 } 363 }
364} 364}
365 365