aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-09-09 18:09:23 +0100
committerJustin Clark-Casey (justincc)2009-09-09 18:09:23 +0100
commitbb1f64fe51331204e8ab891345feea81b805107b (patch)
tree8c3f82f796d82b9d7b87b49a212c398eaf035d49 /OpenSim/Region/Framework
parentAdd test to check behaviour if an iar is loaded where no user profile exists ... (diff)
downloadopensim-SC-bb1f64fe51331204e8ab891345feea81b805107b.zip
opensim-SC-bb1f64fe51331204e8ab891345feea81b805107b.tar.gz
opensim-SC-bb1f64fe51331204e8ab891345feea81b805107b.tar.bz2
opensim-SC-bb1f64fe51331204e8ab891345feea81b805107b.tar.xz
minor: suppress mono warning 0162 generated when comparing const RegionSize against a literal number
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index d43a7e2..ecf0d80 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1297,6 +1297,7 @@ namespace OpenSim.Region.Framework.Scenes
1297 m_log.Warn("[TERRAIN]: Scene.cs: LoadWorldMap() - Failed with exception " + e.ToString() + " Regenerating"); 1297 m_log.Warn("[TERRAIN]: Scene.cs: LoadWorldMap() - Failed with exception " + e.ToString() + " Regenerating");
1298 1298
1299 // Non standard region size. If there's an old terrain in the database, it might read past the buffer 1299 // Non standard region size. If there's an old terrain in the database, it might read past the buffer
1300 #pragma warning disable 0162
1300 if ((int)Constants.RegionSize != 256) 1301 if ((int)Constants.RegionSize != 256)
1301 { 1302 {
1302 Heightmap = new TerrainChannel(); 1303 Heightmap = new TerrainChannel();