diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs index efc644d..ee5eb90 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs | |||
@@ -38,6 +38,7 @@ using OpenSim.Framework.Communications; | |||
38 | using OpenSim.Framework.Communications.Cache; | 38 | using OpenSim.Framework.Communications.Cache; |
39 | using OpenSim.Framework.Capabilities; | 39 | using OpenSim.Framework.Capabilities; |
40 | using OpenSim.Region.Framework.Interfaces; | 40 | using OpenSim.Region.Framework.Interfaces; |
41 | using GridRegion = OpenSim.Services.Interfaces.GridRegion; | ||
41 | 42 | ||
42 | namespace OpenSim.Region.Framework.Scenes.Hypergrid | 43 | namespace OpenSim.Region.Framework.Scenes.Hypergrid |
43 | { | 44 | { |
@@ -112,7 +113,10 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid | |||
112 | } | 113 | } |
113 | else | 114 | else |
114 | { | 115 | { |
115 | RegionInfo reg = RequestNeighbouringRegionInfo(regionHandle); | 116 | uint x = 0, y = 0; |
117 | Utils.LongToUInts(regionHandle, out x, out y); | ||
118 | GridRegion reg = m_scene.GridService.GetRegionByPosition(m_scene.RegionInfo.ScopeID, (int)x, (int)y); | ||
119 | |||
116 | if (reg != null) | 120 | if (reg != null) |
117 | { | 121 | { |
118 | 122 | ||