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 0c59ba1..eb150d9 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1542,7 +1542,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1542 | // If we fail to cross the border, then reset the position of the scene object on that border. | 1542 | // If we fail to cross the border, then reset the position of the scene object on that border. |
1543 | uint x = 0, y = 0; | 1543 | uint x = 0, y = 0; |
1544 | Utils.LongToUInts(newRegionHandle, out x, out y); | 1544 | Utils.LongToUInts(newRegionHandle, out x, out y); |
1545 | GridRegion destination = scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y); | 1545 | GridRegion destination = scene.GridService.GetRegionByPosition(scene.RegionInfo.ScopeID, (int)x, (int)y); |
1546 | if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent)) | 1546 | if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent)) |
1547 | { | 1547 | { |
1548 | grp.OffsetForNewRegion(oldGroupPosition); | 1548 | grp.OffsetForNewRegion(oldGroupPosition); |