minor: suppress mono warning 0162 generated when comparing const RegionSize against a literal number
parent
0683cf6e0d
commit
bb1f64fe51
|
@ -1297,6 +1297,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
m_log.Warn("[TERRAIN]: Scene.cs: LoadWorldMap() - Failed with exception " + e.ToString() + " Regenerating");
|
m_log.Warn("[TERRAIN]: Scene.cs: LoadWorldMap() - Failed with exception " + e.ToString() + " Regenerating");
|
||||||
|
|
||||||
// Non standard region size. If there's an old terrain in the database, it might read past the buffer
|
// Non standard region size. If there's an old terrain in the database, it might read past the buffer
|
||||||
|
#pragma warning disable 0162
|
||||||
if ((int)Constants.RegionSize != 256)
|
if ((int)Constants.RegionSize != 256)
|
||||||
{
|
{
|
||||||
Heightmap = new TerrainChannel();
|
Heightmap = new TerrainChannel();
|
||||||
|
|
Loading…
Reference in New Issue