Non-functional changes of numbers into symbolic references and a few

comments on what variables really mean.
This commit is contained in:
Robert Adams
2014-02-15 16:01:01 -08:00
parent f6913e911e
commit bdbbeaa494
4 changed files with 6 additions and 4 deletions

View File

@@ -126,7 +126,8 @@ namespace OpenSim.Region.CoreModules.Hypergrid
foreach (MapBlockData b in mapBlocks)
{
b.Name = string.Empty;
b.Access = 254; // means 'simulator is offline'. We need this because the viewer ignores 255's
// Set 'simulator is offline'. We need this because the viewer ignores SimAccess.Unknown (255)
b.Access = (byte)SimAccess.Down;
}
m_log.DebugFormat("[HG MAP]: Resetting {0} blocks", mapBlocks.Count);