Fixed MapBlocks bug, wrong order of arguments. First version that seems completely functional.

Also fixed the notification of the message server in standalone -- that server doesn't usually exist.
This commit is contained in:
Diva Canto
2009-09-26 08:49:48 -07:00
parent d39e67d5b2
commit 632bb71262
5 changed files with 17 additions and 12 deletions

View File

@@ -62,8 +62,8 @@ namespace OpenSim.Region.CoreModules.Hypergrid
{
List<MapBlockData> mapBlocks = new List<MapBlockData>();
List<GridRegion> regions = m_scene.GridService.GetRegionRange(m_scene.RegionInfo.ScopeID,
(minX - 4) * (int)Constants.RegionSize, (minY - 4) * (int)Constants.RegionSize,
(maxX + 4) * (int)Constants.RegionSize, (maxY + 4) * (int)Constants.RegionSize);
(minX - 4) * (int)Constants.RegionSize, (maxX + 4) * (int)Constants.RegionSize,
(minY - 4) * (int)Constants.RegionSize, (maxY + 4) * (int)Constants.RegionSize);
foreach (GridRegion r in regions)
{