* You can leave godmode if you want now.

* Fixed a compile error.
This commit is contained in:
Teravus Ovares
2008-03-14 15:52:32 +00:00
parent 24aedf52c6
commit ce9c2ecac8
5 changed files with 19 additions and 7 deletions

View File

@@ -2087,7 +2087,7 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="sessionID"></param>
/// <param name="token"></param>
/// <param name="controllingClient"></param>
public void handleRequestGodlikePowers(LLUUID agentID, LLUUID sessionID, LLUUID token,
public void handleRequestGodlikePowers(LLUUID agentID, LLUUID sessionID, LLUUID token, bool godLike,
IClientAPI controllingClient)
{
// First check that this is the sim owner
@@ -2102,7 +2102,8 @@ namespace OpenSim.Region.Environment.Scenes
{
if (sessionID == controllingClient.SessionId)
{
m_scenePresences[agentID].GrantGodlikePowers(agentID, testSessionID, token);
//m_log.Info("godlike: " + godLike.ToString());
m_scenePresences[agentID].GrantGodlikePowers(agentID, testSessionID, token, godLike);
}
}
}