* Changed implicit string conversion to LSL_Types.LSLString in money event of the key of the payer to an Explicit one.

* Fixes Mantis: #1045
This commit is contained in:
Teravus Ovares
2008-05-11 12:01:12 +00:00
parent 0c831a0c2e
commit efc680f45b
3 changed files with 6 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
public void money(uint localID, LLUUID agentID, int amount)
{
myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "money", EventQueueManager.llDetectNull, new object[] { agentID.ToString(), new LSL_Types.LSLInteger(amount) });
myScriptEngine.m_EventQueueManager.AddToObjectQueue(localID, "money", EventQueueManager.llDetectNull, new object[] { new LSL_Types.LSLString(agentID.ToString()), new LSL_Types.LSLInteger(amount) });
}
// TODO: Replace placeholders below