diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs index 37fa441..221ec67 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RegionInfoCache.cs | |||
@@ -631,8 +631,15 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
631 | 631 | ||
632 | private void addToInner(GridRegion region) | 632 | private void addToInner(GridRegion region) |
633 | { | 633 | { |
634 | int rsx = region.RegionSizeX >> 8; | 634 | int rsx = region.RegionSizeX; |
635 | int rsy = region.RegionSizeY >> 8; | 635 | int rsy = region.RegionSizeY; |
636 | |||
637 | if(rsx < 512 && rsy < 512) | ||
638 | return; | ||
639 | |||
640 | rsx >>= 8; | ||
641 | rsy >>= 8; | ||
642 | |||
636 | ulong handle = region.RegionHandle & HANDLEMASH; | 643 | ulong handle = region.RegionHandle & HANDLEMASH; |
637 | fastRegionHandle fh = new fastRegionHandle(handle); | 644 | fastRegionHandle fh = new fastRegionHandle(handle); |
638 | uint startY = fh.y; | 645 | uint startY = fh.y; |