mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
remove extra char
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user