mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Fix an off by one error on visible neighbors in the 'RequestNeighbors' method. This off by one error showed one extra row of neighbors on the north and east side
This commit is contained in:
@@ -443,8 +443,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
int startX = (int) pRegionLocX - 1;
|
||||
int startY = (int) pRegionLocY - 1;
|
||||
|
||||
int endX = (int) pRegionLocX + (int)extent.X + 1;
|
||||
int endY = (int) pRegionLocY + (int)extent.Y + 1;
|
||||
int endX = (int) pRegionLocX + (int)extent.X;
|
||||
int endY = (int) pRegionLocY + (int)extent.Y;
|
||||
|
||||
for (int i=startX;i<endX;i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user