Increase maximum permitted vehicle name length.

This commit is contained in:
Jonathan G Rennison
2017-01-30 19:11:11 +00:00
parent f3bea35fcc
commit 55e56cda52

View File

@@ -73,7 +73,7 @@ enum DepotCommand {
DEPOT_COMMAND_MASK = 0x1FU << 27, DEPOT_COMMAND_MASK = 0x1FU << 27,
}; };
static const uint MAX_LENGTH_VEHICLE_NAME_CHARS = 32; ///< The maximum length of a vehicle name in characters including '\0' static const uint MAX_LENGTH_VEHICLE_NAME_CHARS = 128; ///< The maximum length of a vehicle name in characters including '\0'
/** The length of a vehicle in tile units. */ /** The length of a vehicle in tile units. */
static const uint VEHICLE_LENGTH = 8; static const uint VEHICLE_LENGTH = 8;