Repair check for if in region position (I mean || is kinda like &&).
parent
79200ed270
commit
fc9930e420
|
@ -126,7 +126,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid
|
||||||
foreach (MapBlockData b in mapBlocks)
|
foreach (MapBlockData b in mapBlocks)
|
||||||
{
|
{
|
||||||
b.Name = string.Empty;
|
b.Name = string.Empty;
|
||||||
// Set 'simulator is offline'. We need this because the viewer ignores SimAccess.Unknown (255)
|
// Set 'simulator is offline'. We need this because the viewer ignores SimAccess.Unknown (255)
|
||||||
b.Access = (byte)SimAccess.Down;
|
b.Access = (byte)SimAccess.Down;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2420,7 +2420,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (regionCombinerModule == null)
|
if (regionCombinerModule == null)
|
||||||
{
|
{
|
||||||
// Regular region. Just check for region size
|
// Regular region. Just check for region size
|
||||||
if (xx < RegionInfo.RegionSizeX || yy < RegionInfo.RegionSizeY )
|
if (xx < RegionInfo.RegionSizeX && yy < RegionInfo.RegionSizeY )
|
||||||
ret = true;
|
ret = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue