summaryrefslogtreecommitdiff
path: root/indra/newview/llscriptruntimeperms.h
diff options
context:
space:
mode:
authorAnsariel <none@none>2016-03-09 12:21:34 +0100
committerAnsariel <none@none>2016-03-09 12:21:34 +0100
commit27fd7fdee6e80aa3520d5740d0197c64ad3837e9 (patch)
tree1d2224231a88e521902fd9f7daf829d13affb67d /indra/newview/llscriptruntimeperms.h
parent79e09fa942e5dca8ed277f2235a7ec12654c94dc (diff)
More elegant solution to keep fix for MAINT-2879
Diffstat (limited to 'indra/newview/llscriptruntimeperms.h')
-rw-r--r--indra/newview/llscriptruntimeperms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llscriptruntimeperms.h b/indra/newview/llscriptruntimeperms.h
index 4a8e4288d2..51f57afdc9 100644
--- a/indra/newview/llscriptruntimeperms.h
+++ b/indra/newview/llscriptruntimeperms.h
@@ -27,6 +27,8 @@
#ifndef LL_LLSCRIPTRUNTIME_PERMS_H
#define LL_LLSCRIPTRUNTIME_PERMS_H
+#include <boost/array.hpp>
+
typedef struct _script_perm {
std::string question;
U32 permbit;
@@ -37,6 +39,8 @@ typedef struct _script_perm {
const U32 NUM_SCRIPT_PERMISSIONS = 16;
const S32 SCRIPT_PERMISSION_DEBIT = 0;
+const S32 SCRIPT_PERMISSION_TRIGGER_ANIMATION = 3;
+const S32 SCRIPT_PERMISSION_OVERRIDE_ANIMATIONS = 14;
static const boost::array<script_perm_t, NUM_SCRIPT_PERMISSIONS> SCRIPT_PERMISSIONS = {{
_script_perm("ScriptTakeMoney", (0x1 << 1), true),