Fix setting adult, mostly

This commit is contained in:
Siana Gearz
2011-11-06 16:35:49 +01:00
parent 5f074c8c82
commit 4ce0345842
4 changed files with 17 additions and 16 deletions

View File

@@ -172,6 +172,7 @@ int LLAgentAccess::convertTextToMaturity(char text)
void LLAgentAccess::setMaturity(char text)
{
mAccess = LLAgentAccess::convertTextToMaturity(text);
llinfos << "Setting agent maturity to " << text << " " << (int)mAccess << llendl;
U32 preferred_access = mSavedSettings.getU32("PreferredMaturity");
while (!canSetMaturity(preferred_access))
{