diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index c675322..a9ecde8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |||
@@ -274,7 +274,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
274 | uint x = 0, y = 0; | 274 | uint x = 0, y = 0; |
275 | Utils.LongToUInts(regionHandle, out x, out y); | 275 | Utils.LongToUInts(regionHandle, out x, out y); |
276 | GridRegion destination = m_scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y); | 276 | GridRegion destination = m_scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y); |
277 | m_scene.SimulationService.CloseAgent(destination, agentID); | 277 | m_scene.SimulationService.CloseChildAgent(destination, agentID); |
278 | } | 278 | } |
279 | 279 | ||
280 | private void SendCloseChildAgentCompleted(IAsyncResult iar) | 280 | private void SendCloseChildAgentCompleted(IAsyncResult iar) |
@@ -293,7 +293,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
293 | d); | 293 | d); |
294 | } | 294 | } |
295 | } | 295 | } |
296 | 296 | ||
297 | public List<GridRegion> RequestNamedRegions(string name, int maxNumber) | 297 | public List<GridRegion> RequestNamedRegions(string name, int maxNumber) |
298 | { | 298 | { |
299 | return m_scene.GridService.GetRegionsByName(UUID.Zero, name, maxNumber); | 299 | return m_scene.GridService.GetRegionsByName(UUID.Zero, name, maxNumber); |