revert change on script execution release points. That will need a full recompile with script states reset, not justifiable by now; plus cosmetics

This commit is contained in:
UbitUmarov
2023-02-16 05:04:11 +00:00
parent f41ff1419c
commit be2192fd53
9 changed files with 275 additions and 305 deletions

View File

@@ -413,12 +413,12 @@ namespace OpenSim.Region.ScriptEngine.Yengine
for(int i = 0; i < plen;)
{
object ob = evt.Params[i];
if(ob is int)
ob = (LSL_Integer)(int)ob;
else if(ob is double)
ob = (LSL_Float)(double)ob;
else if(ob is string)
ob = (LSL_String)(string)ob;
if(ob is int iob)
ob = (LSL_Integer)iob;
else if(ob is double dob)
ob = (LSL_Float)dob;
else if(ob is string sob)
ob = (LSL_String)sob;
plist[++i] = ob;
}
m_DetectParams = evt.DetectParams;