Mantis#1615. Thank you, Matth for a patch that:

causes deprecated LSL functions to throw the deprecated 
exception rather than not-implemented.
This commit is contained in:
Charles Krinke
2008-06-27 19:13:42 +00:00
parent 2f6a5f5575
commit 1646f42a80
2 changed files with 6 additions and 6 deletions

View File

@@ -1940,25 +1940,25 @@ namespace OpenSim.Region.ScriptEngine.Common
public void llMakeExplosion()
{
m_host.AddScriptLPS(1);
NotImplemented("llMakeExplosion");
Deprecated("llMakeExplosion");
}
public void llMakeFountain()
{
m_host.AddScriptLPS(1);
NotImplemented("llMakeFountain");
Deprecated("llMakeFountain");
}
public void llMakeSmoke()
{
m_host.AddScriptLPS(1);
NotImplemented("llMakeSmoke");
Deprecated("llMakeSmoke");
}
public void llMakeFire()
{
m_host.AddScriptLPS(1);
NotImplemented("llMakeFire");
Deprecated("llMakeFire");
}
public void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Vector3 vel, LSL_Types.Quaternion rot, int param)
@@ -2236,7 +2236,7 @@ namespace OpenSim.Region.ScriptEngine.Common
public void llSoundPreload()
{
m_host.AddScriptLPS(1);
NotImplemented("llSoundPreload");
Deprecated("llSoundPreload");
}
public void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping)