wt* remove osSetStateEvents, any script using it must just DIE

This commit is contained in:
UbitUmarov
2020-08-31 15:01:26 +01:00
parent 0abb08c6ef
commit b64e1792ff
3 changed files with 0 additions and 18 deletions

View File

@@ -1485,18 +1485,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return vec;
}
public void osSetStateEvents(int events)
{
// This function is a hack. There is no reason for it's existence
// anymore, since state events now work properly.
// It was probably added as a crutch or debugging aid, and
// should be removed
//
CheckThreatLevel(ThreatLevel.High, "osSetStateEvents");
m_host.SetScriptEvents(m_item.ItemID, events);
}
public void osSetRegionWaterHeight(double height)
{
CheckThreatLevel(ThreatLevel.High, "osSetRegionWaterHeight");