diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index a340612320..31a186ab3c 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs @@ -207,8 +207,8 @@ namespace OpenSim.Services.GridService List rdatas = m_Database.Get( regionInfos.RegionLocX, regionInfos.RegionLocY, - regionInfos.RegionLocX + regionInfos.RegionSizeX, - regionInfos.RegionLocY + regionInfos.RegionSizeY, + regionInfos.RegionLocX + regionInfos.RegionSizeX - 1, + regionInfos.RegionLocY + regionInfos.RegionSizeY - 1 , scopeID); RegionData region = null;