mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
a few more changes on vectors etc
This commit is contained in:
@@ -5012,7 +5012,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
Error("llRequestAgentData","Invalid UUID passed to llRequestAgentData.");
|
||||
}
|
||||
return "";
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
//bad if lm is HG
|
||||
@@ -5226,7 +5226,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public void llCollisionSound(LSL_String impact_sound, LSL_Float impact_volume)
|
||||
{
|
||||
|
||||
if(impact_sound == "")
|
||||
if(String.IsNullOrEmpty(impact_sound.m_string))
|
||||
{
|
||||
m_host.CollisionSoundVolume = (float)impact_volume;
|
||||
m_host.CollisionSound = m_host.invalidCollisionSoundUUID;
|
||||
|
||||
@@ -165,7 +165,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||
// of all others so the m_DetachQuantum won't run out
|
||||
// before attach(NULL_KEY) is executed.
|
||||
case ScriptEventCode.attach:
|
||||
if (evt.Params[0].ToString() == UUID.ZeroString)
|
||||
if (evt.Params[0].ToString().Equals(UUID.ZeroString))
|
||||
{
|
||||
LinkedListNode<EventParams> lln2 = null;
|
||||
for(lln2 = m_EventQueue.First; lln2 != null; lln2 = lln2.Next)
|
||||
|
||||
Reference in New Issue
Block a user