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

remotes/origin/0.6.7-post-fixes
Justin Clark-Casey (justincc) 2009-09-09 18:09:23 +01:00
parent 0683cf6e0d
commit bb1f64fe51
1 changed files with 1 additions and 0 deletions

View File

@ -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();