Repair check for if in region position (I mean || is kinda like &&).

0.8.0.3
Robert Adams 2014-02-15 18:49:40 -08:00
parent 79200ed270
commit fc9930e420
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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