fix bug on sit active range check

master
UbitUmarov 2020-01-22 21:19:38 +00:00
parent 59f41598db
commit da0ba17d1a
1 changed files with 1 additions and 1 deletions

View File

@ -3356,7 +3356,7 @@ namespace OpenSim.Region.Framework.Scenes
//look for prims with explicit sit targets that are available
foreach (SceneObjectPart part in partArray)
{
if (part.IsSitTargetSet && part.SitTargetAvatar == UUID.Zero && part.SitActiveRange > 0)
if (part.IsSitTargetSet && part.SitTargetAvatar == UUID.Zero && part.SitActiveRange >= 0)
{
//switch the target to this prim
return part;