aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 5876da9..8a32e1d 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -869,13 +869,14 @@ namespace OpenSim.Region.Framework.Scenes
869 } 869 }
870 870
871 /// <summary> 871 /// <summary>
872 /// Another region is up. 872 /// Process the fact that a neighbouring region has come up.
873 /// 873 /// </summary>
874 /// <remarks>
874 /// We only add it to the neighbor list if it's within 1 region from here. 875 /// We only add it to the neighbor list if it's within 1 region from here.
875 /// Agents may have draw distance values that cross two regions though, so 876 /// Agents may have draw distance values that cross two regions though, so
876 /// we add it to the notify list regardless of distance. We'll check 877 /// we add it to the notify list regardless of distance. We'll check
877 /// the agent's draw distance before notifying them though. 878 /// the agent's draw distance before notifying them though.
878 /// </summary> 879 /// </remarks>
879 /// <param name="otherRegion">RegionInfo handle for the new region.</param> 880 /// <param name="otherRegion">RegionInfo handle for the new region.</param>
880 /// <returns>True after all operations complete, throws exceptions otherwise.</returns> 881 /// <returns>True after all operations complete, throws exceptions otherwise.</returns>
881 public override void OtherRegionUp(GridRegion otherRegion) 882 public override void OtherRegionUp(GridRegion otherRegion)
@@ -887,7 +888,6 @@ namespace OpenSim.Region.Framework.Scenes
887 888
888 if (RegionInfo.RegionHandle != otherRegion.RegionHandle) 889 if (RegionInfo.RegionHandle != otherRegion.RegionHandle)
889 { 890 {
890
891 // If these are cast to INT because long + negative values + abs returns invalid data 891 // If these are cast to INT because long + negative values + abs returns invalid data
892 int resultX = Math.Abs((int)xcell - (int)RegionInfo.RegionLocX); 892 int resultX = Math.Abs((int)xcell - (int)RegionInfo.RegionLocX);
893 int resultY = Math.Abs((int)ycell - (int)RegionInfo.RegionLocY); 893 int resultY = Math.Abs((int)ycell - (int)RegionInfo.RegionLocY);