Change name of just added OSSL osForceSit() to osForceOtherSit()

This is somewhat more in keeping with something like osForceAttachToOtherAvatarFromInventory()
and potentially allows a separate osForceSit() command with High threat rather than VeryHigh that only sits the owner and can be enabled without enabling sit of other avatars.
This commit is contained in:
Justin Clark-Casey (justincc)
2014-10-11 00:14:35 +01:00
parent 5acbbcb33f
commit 00b23e51ae
3 changed files with 12 additions and 11 deletions

View File

@@ -920,13 +920,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
m_OSSL_Functions.osCauseHealing(avatar, healing);
}
public void osForceSit(string avatar)
public void osForceOtherSit(string avatar)
{
m_OSSL_Functions.osForceSit(avatar);
m_OSSL_Functions.osForceOtherSit(avatar);
}
public void osForceSit(string avatar, string target)
public void osForceOtherSit(string avatar, string target)
{
m_OSSL_Functions.osForceSit(avatar, target);
m_OSSL_Functions.osForceOtherSit(avatar, target);
}
public LSL_List osGetPrimitiveParams(LSL_Key prim, LSL_List rules)