remove extra char

LSLKeyTest
UbitUmarov 2016-07-25 08:38:10 +01:00
parent fcdf0b00b1
commit 1d507f8073
1 changed files with 6 additions and 2 deletions

View File

@ -4797,7 +4797,7 @@ namespace OpenSim.Region.Framework.Scenes
{ {
part = Scene.GetSceneObjectPart(localid); part = Scene.GetSceneObjectPart(localid);
if(part != null && !part.ParentGroup.IsDeleted && !part.ParentGroup.IsVolumeDetect) if(part != null && !part.ParentGroup.IsVolumeDetect)
{ {
if (part.ParentGroup.Damage > 0.0f) if (part.ParentGroup.Damage > 0.0f)
{ {
@ -4811,10 +4811,14 @@ namespace OpenSim.Region.Framework.Scenes
rvel = coldata[localid].RelativeSpeed; rvel = coldata[localid].RelativeSpeed;
if(rvel < -5.0f) if(rvel < -5.0f)
{ {
Health -= 0.005f * rvel * rvel;; Health -= 0.005f * rvel * rvel;
} }
} }
} }
else
{
}
} }
if (Health <= 0.0f) if (Health <= 0.0f)