* Changed implicit string conversion to LSL_Types.LSLString in money event of the key of the payer to an Explicit one.
* Fixes Mantis: #10450.6.0-stable
parent
0c831a0c2e
commit
efc680f45b
|
@ -1110,6 +1110,8 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
static public implicit operator String(LSLString s)
|
||||
{
|
||||
return s.m_string;
|
||||
|
@ -1273,6 +1275,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
return i;
|
||||
}
|
||||
|
||||
|
||||
public static LSLInteger operator --(LSLInteger i)
|
||||
{
|
||||
i.value--;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -326,12 +326,12 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
|||
m_ScriptEngine.World.GetSceneObjectPart(QIS.localID);
|
||||
//if (m_host != null)
|
||||
//{
|
||||
m_ScriptEngine.World.SimChat(Helpers.StringToField(text.Substring(0,999)),
|
||||
m_ScriptEngine.World.SimChat(Helpers.StringToField(text),
|
||||
ChatTypeEnum.DebugChannel, 2147483647,
|
||||
m_host.AbsolutePosition,
|
||||
m_host.Name, m_host.UUID);
|
||||
}
|
||||
catch
|
||||
catch (Exception f)
|
||||
{
|
||||
//}
|
||||
//else
|
||||
|
|
Loading…
Reference in New Issue