Server.Items.TreasureMap.GetRandomHavenLocation C# (CSharp) Method

GetRandomHavenLocation() public static method

public static GetRandomHavenLocation ( ) : Server.Point2D
return Server.Point2D
		public static Point2D GetRandomHavenLocation()
		{
			if ( m_HavenLocations == null )
				LoadLocations();

			if ( m_HavenLocations.Length > 0 )
				return m_HavenLocations[Utility.Random( m_HavenLocations.Length )];

			return Point2D.Zero;
		}