mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Repair check for if in region position (I mean || is kinda like &&).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user