diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/GodController.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/GodController.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/GodController.cs b/OpenSim/Region/Framework/Scenes/GodController.cs index 0ccb4b6..7ed80f6 100644 --- a/OpenSim/Region/Framework/Scenes/GodController.cs +++ b/OpenSim/Region/Framework/Scenes/GodController.cs | |||
@@ -137,8 +137,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
137 | m_godlevel = m_rightsGodLevel; | 137 | m_godlevel = m_rightsGodLevel; |
138 | } | 138 | } |
139 | 139 | ||
140 | m_scenePresence.isGod = (m_godlevel >= 200); | 140 | m_scenePresence.IsGod = (m_godlevel >= 200); |
141 | m_scenePresence.isViewerUIGod = (m_viewergodlevel >= 200); | 141 | m_scenePresence.IsViewerUIGod = (m_viewergodlevel >= 200); |
142 | } | 142 | } |
143 | 143 | ||
144 | // calculates god level at sp creation from local and grid user god rights | 144 | // calculates god level at sp creation from local and grid user god rights |
@@ -176,8 +176,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
176 | { | 176 | { |
177 | m_viewergodlevel = 0; | 177 | m_viewergodlevel = 0; |
178 | m_godlevel = 0; | 178 | m_godlevel = 0; |
179 | m_scenePresence.isGod = false; | 179 | m_scenePresence.IsGod = false; |
180 | m_scenePresence.isViewerUIGod = false; | 180 | m_scenePresence.IsViewerUIGod = false; |
181 | return; | 181 | return; |
182 | } | 182 | } |
183 | 183 | ||
@@ -205,8 +205,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
205 | m_godlevel = 0; | 205 | m_godlevel = 0; |
206 | } | 206 | } |
207 | } | 207 | } |
208 | m_scenePresence.isGod = (m_godlevel >= 200); | 208 | m_scenePresence.IsGod = (m_godlevel >= 200); |
209 | m_scenePresence.isViewerUIGod = (m_viewergodlevel >= 200); | 209 | m_scenePresence.IsViewerUIGod = (m_viewergodlevel >= 200); |
210 | } | 210 | } |
211 | 211 | ||
212 | public void SyncViewerState() | 212 | public void SyncViewerState() |