minor: suppress mono warning 0162 generated when comparing const RegionSize against a literal number

This commit is contained in:
Justin Clark-Casey (justincc)
2009-09-09 18:09:23 +01:00
parent 0683cf6e0d
commit bb1f64fe51

View File

@@ -1297,6 +1297,7 @@ namespace OpenSim.Region.Framework.Scenes
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
#pragma warning disable 0162
if ((int)Constants.RegionSize != 256)
{
Heightmap = new TerrainChannel();