diff options
| author | Monroe Linden <monroe@lindenlab.com> | 2010-02-18 15:48:56 -0800 |
|---|---|---|
| committer | Monroe Linden <monroe@lindenlab.com> | 2010-02-18 15:48:56 -0800 |
| commit | e0efa1dfa236f8a52a88212298b6e5113ef8f07a (patch) | |
| tree | 9a94d26d308981d2070129147b9ba751118bdd76 /indra/newview/llstartup.cpp | |
| parent | ef9b7c5b36c7521c4519e682aa312c4c25c31c2f (diff) | |
| parent | 890ec637d41330a2a91d23b09b6aaaf49738d19a (diff) | |
Automated merge with ssh://hg.lindenlab.com/q/viewer-hotfix
Diffstat (limited to 'indra/newview/llstartup.cpp')
| -rw-r--r-- | indra/newview/llstartup.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 136989166f..fa07278cb9 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -2899,7 +2899,9 @@ bool process_login_success_response() text = response["agent_region_access"].asString(); if (!text.empty()) { - int preferredMaturity = LLAgent::convertTextToMaturity(text[0]); + U32 preferredMaturity = + llmin((U32)LLAgent::convertTextToMaturity(text[0]), + gSavedSettings.getU32("PreferredMaturity")); gSavedSettings.setU32("PreferredMaturity", preferredMaturity); } // During the AO transition, this flag will be true. Then the flag will |
