aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterclothing.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:16 -0500
committerJacek Antonelli2008-08-15 23:45:16 -0500
commit3f27ba891ac4d032753b219b4b96d1ffbc9fb488 (patch)
tree504932ee91a0356fba7ea48798887c96867e492f /linden/indra/newview/llfloaterclothing.cpp
parentSecond Life viewer sources 1.18.4.3 (diff)
downloadmeta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.zip
meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.gz
meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.bz2
meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.xz
Second Life viewer sources 1.18.5.0-RC
Diffstat (limited to 'linden/indra/newview/llfloaterclothing.cpp')
-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