diff options
author | Teravus Ovares | 2008-03-14 15:52:32 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-14 15:52:32 +0000 |
commit | ce9c2ecac8aa41e5ff22203e5436a4596c14b370 (patch) | |
tree | a5833be8fa9b8838413616649403bccb076d1775 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | * Added null root part guard (diff) | |
download | opensim-SC_OLD-ce9c2ecac8aa41e5ff22203e5436a4596c14b370.zip opensim-SC_OLD-ce9c2ecac8aa41e5ff22203e5436a4596c14b370.tar.gz opensim-SC_OLD-ce9c2ecac8aa41e5ff22203e5436a4596c14b370.tar.bz2 opensim-SC_OLD-ce9c2ecac8aa41e5ff22203e5436a4596c14b370.tar.xz |
* You can leave godmode if you want now.
* Fixed a compile error.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 58c32a4..7c1faa3 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2087,7 +2087,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2087 | /// <param name="sessionID"></param> | 2087 | /// <param name="sessionID"></param> |
2088 | /// <param name="token"></param> | 2088 | /// <param name="token"></param> |
2089 | /// <param name="controllingClient"></param> | 2089 | /// <param name="controllingClient"></param> |
2090 | public void handleRequestGodlikePowers(LLUUID agentID, LLUUID sessionID, LLUUID token, | 2090 | public void handleRequestGodlikePowers(LLUUID agentID, LLUUID sessionID, LLUUID token, bool godLike, |
2091 | IClientAPI controllingClient) | 2091 | IClientAPI controllingClient) |
2092 | { | 2092 | { |
2093 | // First check that this is the sim owner | 2093 | // First check that this is the sim owner |
@@ -2102,7 +2102,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
2102 | { | 2102 | { |
2103 | if (sessionID == controllingClient.SessionId) | 2103 | if (sessionID == controllingClient.SessionId) |
2104 | { | 2104 | { |
2105 | m_scenePresences[agentID].GrantGodlikePowers(agentID, testSessionID, token); | 2105 | //m_log.Info("godlike: " + godLike.ToString()); |
2106 | m_scenePresences[agentID].GrantGodlikePowers(agentID, testSessionID, token, godLike); | ||
2106 | } | 2107 | } |
2107 | } | 2108 | } |
2108 | } | 2109 | } |