Increase maximum permitted depot and station name lengths.

pull/19/head
Jonathan G Rennison 7 years ago
parent d6e62a8a39
commit 735fc1fc68

@ -15,6 +15,6 @@
typedef uint16 DepotID; ///< Type for the unique identifier of depots.
struct Depot;
static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 32; ///< The maximum length of a depot name in characters including '\0'
static const uint MAX_LENGTH_DEPOT_NAME_CHARS = 128; ///< The maximum length of a depot name in characters including '\0'
#endif /* DEPOT_TYPE_H */

@ -89,7 +89,7 @@ enum CatchmentArea {
MAX_CATCHMENT = 10, ///< Maximum catchment for airports with "modified catchment" enabled
};
static const uint MAX_LENGTH_STATION_NAME_CHARS = 32; ///< The maximum length of a station name in characters including '\0'
static const uint MAX_LENGTH_STATION_NAME_CHARS = 128; ///< The maximum length of a station name in characters including '\0'
/** List of station IDs */
typedef std::list<StationID> StationIDList;

Loading…
Cancel
Save