diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index b855233..e3f101e 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1560,6 +1560,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1560 | 1560 | ||
1561 | float newRegionSizeX = neighbourRegion.RegionSizeX; | 1561 | float newRegionSizeX = neighbourRegion.RegionSizeX; |
1562 | float newRegionSizeY = neighbourRegion.RegionSizeY; | 1562 | float newRegionSizeY = neighbourRegion.RegionSizeY; |
1563 | if (newRegionSizeX == 0) | ||
1564 | newRegionSizeX = 256f; | ||
1565 | if (newRegionSizeY == 0) | ||
1566 | newRegionSizeY = 256f; | ||
1563 | 1567 | ||
1564 | if (pos.X < boundaryDistance) | 1568 | if (pos.X < boundaryDistance) |
1565 | newpos.X += newRegionSizeX; | 1569 | newpos.X += newRegionSizeX; |