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)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -2420,7 +2420,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
if (regionCombinerModule == null)
|
||||
{
|
||||
// Regular region. Just check for region size
|
||||
if (xx < RegionInfo.RegionSizeX || yy < RegionInfo.RegionSizeY )
|
||||
if (xx < RegionInfo.RegionSizeX && yy < RegionInfo.RegionSizeY )
|
||||
ret = true;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue