diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/EntityTransfer')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 62b5a01..caeb4f8 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1765,11 +1765,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1765 | // Next, let's close the child agent connections that are too far away. | 1765 | // Next, let's close the child agent connections that are too far away. |
1766 | uint neighbourx; | 1766 | uint neighbourx; |
1767 | uint neighboury; | 1767 | uint neighboury; |
1768 | 1768 | Util.RegionHandleToRegionLoc(neighbourRegion.RegionHandle, out neighbourx, out neighboury); | |
1769 | Utils.LongToUInts(neighbourRegion.RegionHandle, out neighbourx, out neighboury); | ||
1770 | |||
1771 | neighbourx /= Constants.RegionSize; | ||
1772 | neighboury /= Constants.RegionSize; | ||
1773 | 1769 | ||
1774 | agent.CloseChildAgents(neighbourx, neighboury); | 1770 | agent.CloseChildAgents(neighbourx, neighboury); |
1775 | 1771 | ||