mirror of
https://github.com/opensim/opensim.git
synced 2026-05-16 03:36:04 +08:00
Finishing the code cleanup in DNE, make llDie work again in DNE.
Add some compile messages from XEngine into DNE as well.
This commit is contained in:
@@ -439,13 +439,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
|
||||
#region Perform event execution in script
|
||||
|
||||
/// <summary>
|
||||
/// Execute a LL-event-function in Script
|
||||
/// </summary>
|
||||
/// <param name="localID">Object the script is located in</param>
|
||||
/// <param name="itemID">Script ID</param>
|
||||
/// <param name="FunctionName">Name of function</param>
|
||||
/// <param name="args">Arguments to pass to function</param>
|
||||
// Execute a LL-event-function in Script
|
||||
internal void ExecuteEvent(uint localID, UUID itemID,
|
||||
string FunctionName, DetectParams[] qParams, object[] args)
|
||||
{
|
||||
@@ -454,8 +448,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
return;
|
||||
|
||||
detparms[id] = qParams;
|
||||
|
||||
if (id.Running)
|
||||
id.Script.ExecuteEvent(id.State, FunctionName, args);
|
||||
|
||||
detparms.Remove(id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user