diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index a3251aa..e5cefe4 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1515,7 +1515,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1515 | // If we fail to cross the border, then reset the position of the scene object on that border. | 1515 | // If we fail to cross the border, then reset the position of the scene object on that border. |
1516 | uint x = 0, y = 0; | 1516 | uint x = 0, y = 0; |
1517 | Utils.LongToUInts(newRegionHandle, out x, out y); | 1517 | Utils.LongToUInts(newRegionHandle, out x, out y); |
1518 | GridRegion destination = scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y); | 1518 | GridRegion destination = scene.GridService.GetRegionByPosition(scene.RegionInfo.ScopeID, (int)x, (int)y); |
1519 | if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent)) | 1519 | if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent)) |
1520 | { | 1520 | { |
1521 | grp.OffsetForNewRegion(oldGroupPosition); | 1521 | grp.OffsetForNewRegion(oldGroupPosition); |