mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
remove some more of obsolete ninha joints code
This commit is contained in:
@@ -429,7 +429,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ent.Velocity.Equals(ZeroVector))
|
||||
if (ent.Velocity.IsZero())
|
||||
{
|
||||
objtype |= PASSIVE; // Passive non-moving
|
||||
}
|
||||
@@ -560,7 +560,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||
|
||||
// if the object the script is in is attached and the avatar is the owner
|
||||
// then this one is not wanted
|
||||
if (attached && presence.UUID == SensePoint.OwnerID)
|
||||
if (attached && presence.UUID.Equals(SensePoint.OwnerID))
|
||||
return;
|
||||
|
||||
toRegionPos = presence.AbsolutePosition;
|
||||
|
||||
Reference in New Issue
Block a user