diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
3 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 48fd7f1..440540e 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -3214,7 +3214,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3214 | { | 3214 | { |
3215 | m_host.AddScriptLPS(1); | 3215 | m_host.AddScriptLPS(1); |
3216 | SceneObjectPart targ = World.GetSceneObjectPart(target); | 3216 | SceneObjectPart targ = World.GetSceneObjectPart(target); |
3217 | if( targ == null ) | 3217 | if (targ == null) |
3218 | return; | 3218 | return; |
3219 | targ.ApplyImpulse(new LLVector3((float)impulse.x, (float)impulse.y, (float)impulse.z), local != 0); | 3219 | targ.ApplyImpulse(new LLVector3((float)impulse.x, (float)impulse.y, (float)impulse.z), local != 0); |
3220 | } | 3220 | } |
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs index 43905a7..dc97174 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | |||
@@ -321,7 +321,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
321 | { | 321 | { |
322 | // ...if it is there. With mono --debug OpenSim.exe, | 322 | // ...if it is there. With mono --debug OpenSim.exe, |
323 | // you'll get the error in the format filename:linenumber | 323 | // you'll get the error in the format filename:linenumber |
324 | if(colon + 6 < t.Length && t.Substring(colon + 1, 5).Equals("line ")) colon += 6; | 324 | if (colon + 6 < t.Length && t.Substring(colon + 1, 5).Equals("line ")) colon += 6; |
325 | else ++colon; // else only skip the colon | 325 | else ++colon; // else only skip the colon |
326 | line = " at line " + Convert.ToInt32(t.Substring(colon)).ToString(); | 326 | line = " at line " + Convert.ToInt32(t.Substring(colon)).ToString(); |
327 | } | 327 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a1f79ae..2612e93 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3156,7 +3156,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3156 | { | 3156 | { |
3157 | m_host.AddScriptLPS(1); | 3157 | m_host.AddScriptLPS(1); |
3158 | SceneObjectPart targ = World.GetSceneObjectPart(target); | 3158 | SceneObjectPart targ = World.GetSceneObjectPart(target); |
3159 | if( targ == null ) | 3159 | if (targ == null) |
3160 | return; | 3160 | return; |
3161 | targ.ApplyImpulse(new LLVector3((float)impulse.x, (float)impulse.y, (float)impulse.z), local != 0); | 3161 | targ.ApplyImpulse(new LLVector3((float)impulse.x, (float)impulse.y, (float)impulse.z), local != 0); |
3162 | } | 3162 | } |