4096 is used in various places as the maximum height of a region, refactoring to be a constant

This commit is contained in:
SignpostMarv
2012-09-06 10:54:45 +01:00
committed by Justin Clark-Casey (justincc)
parent df3914c7cd
commit 874bde366a
3 changed files with 4 additions and 3 deletions

View File

@@ -31,6 +31,7 @@ namespace OpenSim.Framework
public class Constants
{
public const uint RegionSize = 256;
public const uint RegionHeight = 4096;
public const byte TerrainPatchSize = 16;
public const string DefaultTexture = "89556747-24cb-43ed-920b-47caed15465f";