bug fix
parent
703e96b4cb
commit
722b7cfbb2
|
@ -373,12 +373,16 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
|
||||||
if(r == null) // ??
|
if(r == null) // ??
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if(handle < r.RegionHandle)
|
int test = r.RegionLocX;
|
||||||
|
if(x < test)
|
||||||
continue;
|
continue;
|
||||||
int test = r.RegionLocX + r.RegionSizeX;
|
test += r.RegionSizeX;
|
||||||
if(x >= test)
|
if(x >= test)
|
||||||
continue;
|
continue;
|
||||||
test = r.RegionLocY + r.RegionSizeY;
|
test = r.RegionLocY;
|
||||||
|
if (y < test)
|
||||||
|
continue;
|
||||||
|
test += r.RegionSizeY;
|
||||||
if (y < test)
|
if (y < test)
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue