Raise the maximum number of bridge types to 16

Raise the maximum number of possible bridge types to 16. The new
bridge types have default properties that make them unavailable at
any year and bridge length, so they cannot be used unless a NewGRF
overrides them.

(cherry picked from commit da399d7bf278ba32fb9f14af65cfcefe5d276e71)
This commit is contained in:
cirdan
2016-06-05 11:56:16 +02:00
committed by Jonathan G Rennison
parent 1aa13c9ea3
commit f41a125d8e
2 changed files with 10 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ enum BridgePieces {
DECLARE_POSTFIX_INCREMENT(BridgePieces)
static const uint MAX_BRIDGES = 13; ///< Maximal number of available bridge specs.
static const uint MAX_BRIDGES = 16; ///< Number of available bridge specs.
typedef uint BridgeType; ///< Bridge spec number.