diff options
| author | Rider Linden <rider@lindenlab.com> | 2019-01-08 15:04:10 -0800 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2019-01-08 15:04:10 -0800 |
| commit | c302e4ee967c5ceb2aff95e207a5f3fb8ac0ebb2 (patch) | |
| tree | a6a4b9787f35a2b37991c7cf3573b54de9d88320 /indra/newview/llscriptruntimeperms.h | |
| parent | 84bb8e1167fde0ceac4c40bcc2b1841238817097 (diff) | |
SL-10268, SL-10323: Use _script_perm to display sit and change env questions. Exp log messages for environment changes."
Diffstat (limited to 'indra/newview/llscriptruntimeperms.h')
| -rw-r--r-- | indra/newview/llscriptruntimeperms.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llscriptruntimeperms.h b/indra/newview/llscriptruntimeperms.h index 51f57afdc9..f692c0ad01 100644 --- a/indra/newview/llscriptruntimeperms.h +++ b/indra/newview/llscriptruntimeperms.h @@ -37,7 +37,7 @@ typedef struct _script_perm { question(q), permbit(b), caution(c) {} } script_perm_t; -const U32 NUM_SCRIPT_PERMISSIONS = 16; +const U32 NUM_SCRIPT_PERMISSIONS = 18; const S32 SCRIPT_PERMISSION_DEBIT = 0; const S32 SCRIPT_PERMISSION_TRIGGER_ANIMATION = 3; const S32 SCRIPT_PERMISSION_OVERRIDE_ANIMATIONS = 14; @@ -58,7 +58,9 @@ static const boost::array<script_perm_t, NUM_SCRIPT_PERMISSIONS> SCRIPT_PERMISSI _script_perm("JoinAnExperience", (0x1 << 13), false), _script_perm("SilentlyManageEstateAccess", (0x1 << 14), false), _script_perm("OverrideYourAnimations", (0x1 << 15), false), - _script_perm("ScriptReturnObjects", (0x1 << 16), false) -}}; + _script_perm("ScriptReturnObjects", (0x1 << 16), false), + _script_perm("ForceSitAvatar", (0x1 << 17), false), + _script_perm("ChangeEnvSettings", (0x1 << 18), false) + } }; #endif // LL_LLSCRIPTRUNTIME_PERMS_H |
