remove extra char
parent
fcdf0b00b1
commit
1d507f8073
|
@ -4797,7 +4797,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
{
|
||||
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)
|
||||
{
|
||||
|
@ -4811,10 +4811,14 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
rvel = coldata[localid].RelativeSpeed;
|
||||
if(rvel < -5.0f)
|
||||
{
|
||||
Health -= 0.005f * rvel * rvel;;
|
||||
Health -= 0.005f * rvel * rvel;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (Health <= 0.0f)
|
||||
|
|
Loading…
Reference in New Issue