diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | 2 |
2 files changed, 2 insertions, 2 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 | } |