Minor formatting cleanup.

This commit is contained in:
Jeff Ames
2008-08-12 00:08:41 +00:00
parent f9945bf87f
commit f894f5d87b
6 changed files with 21 additions and 21 deletions

View File

@@ -3214,7 +3214,7 @@ namespace OpenSim.Region.ScriptEngine.Common
{
m_host.AddScriptLPS(1);
SceneObjectPart targ = World.GetSceneObjectPart(target);
if( targ == null )
if (targ == null)
return;
targ.ApplyImpulse(new LLVector3((float)impulse.x, (float)impulse.y, (float)impulse.z), local != 0);
}

View File

@@ -321,7 +321,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
{
// ...if it is there. With mono --debug OpenSim.exe,
// you'll get the error in the format filename:linenumber
if(colon + 6 < t.Length && t.Substring(colon + 1, 5).Equals("line ")) colon += 6;
if (colon + 6 < t.Length && t.Substring(colon + 1, 5).Equals("line ")) colon += 6;
else ++colon; // else only skip the colon
line = " at line " + Convert.ToInt32(t.Substring(colon)).ToString();
}

View File

@@ -3156,7 +3156,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
m_host.AddScriptLPS(1);
SceneObjectPart targ = World.GetSceneObjectPart(target);
if( targ == null )
if (targ == null)
return;
targ.ApplyImpulse(new LLVector3((float)impulse.x, (float)impulse.y, (float)impulse.z), local != 0);
}