Fix off by one error in documentation comment for GetRandomTreeType.

This commit is contained in:
Jonathan G Rennison
2015-09-21 18:24:45 +01:00
parent efb1ba3337
commit c5de99c6b3

View File

@@ -166,11 +166,11 @@ static void RecalculateArcticTreeOccuranceArray()
* Get a random TreeType for the given tile based on a given seed * Get a random TreeType for the given tile based on a given seed
* *
* This function returns a random TreeType which can be placed on the given tile. * This function returns a random TreeType which can be placed on the given tile.
* The seed for randomness must be less or equal 256, use #GB on the value of Random() * The seed for randomness must be less than 256, use #GB on the value of Random()
* to get such a value. * to get such a value.
* *
* @param tile The tile to get a random TreeType from * @param tile The tile to get a random TreeType from
* @param seed The seed for randomness, must be less or equal 256 * @param seed The seed for randomness, must be less than 256
* @return The random tree type * @return The random tree type
*/ */
static TreeType GetRandomTreeType(TileIndex tile, uint seed) static TreeType GetRandomTreeType(TileIndex tile, uint seed)