duhhh argument name is direction_RootToChild not the oposite (just a rename to keep coerency with code logic)

This commit is contained in:
UbitUmarov
2021-08-15 19:57:23 +01:00
parent 4afc1e3909
commit a99f09df92
2 changed files with 4 additions and 4 deletions

View File

@@ -786,9 +786,9 @@ namespace OpenSim.Region.Framework.Scenes
}
}
protected internal void SwapRootChildAgent(bool direction_ChildToRoot, bool isnpc = false)
protected internal void SwapRootChildAgent(bool direction_RootToChild, bool isnpc = false)
{
if (direction_ChildToRoot)
if (direction_RootToChild)
{
--m_numRootAgents;
if(isnpc)