diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 6a3983f..c4ae0f0 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -113,6 +113,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
113 | { | 113 | { |
114 | get { return m_attachments; } | 114 | get { return m_attachments; } |
115 | } | 115 | } |
116 | |||
116 | protected List<SceneObjectGroup> m_attachments = new List<SceneObjectGroup>(); | 117 | protected List<SceneObjectGroup> m_attachments = new List<SceneObjectGroup>(); |
117 | 118 | ||
118 | private Dictionary<UUID, ScriptControllers> scriptedcontrols = new Dictionary<UUID, ScriptControllers>(); | 119 | private Dictionary<UUID, ScriptControllers> scriptedcontrols = new Dictionary<UUID, ScriptControllers>(); |
@@ -136,6 +137,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
136 | private bool m_updateflag; | 137 | private bool m_updateflag; |
137 | private byte m_movementflag; | 138 | private byte m_movementflag; |
138 | private Vector3? m_forceToApply; | 139 | private Vector3? m_forceToApply; |
140 | private int m_userFlags; | ||
141 | public int UserFlags | ||
142 | { | ||
143 | get { return m_userFlags; } | ||
144 | } | ||
145 | |||
139 | private uint m_requestedSitTargetID; | 146 | private uint m_requestedSitTargetID; |
140 | private UUID m_requestedSitTargetUUID; | 147 | private UUID m_requestedSitTargetUUID; |
141 | public bool SitGround = false; | 148 | public bool SitGround = false; |
@@ -763,6 +770,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
763 | m_localId = m_scene.AllocateLocalId(); | 770 | m_localId = m_scene.AllocateLocalId(); |
764 | 771 | ||
765 | UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, m_uuid); | 772 | UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, m_uuid); |
773 | m_userFlags = account.UserFlags; | ||
766 | 774 | ||
767 | if (account != null) | 775 | if (account != null) |
768 | m_userLevel = account.UserLevel; | 776 | m_userLevel = account.UserLevel; |