From 55e56cda52405a910ec0fc94dc48d88cc35b427d Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 30 Jan 2017 19:11:11 +0000 Subject: [PATCH] Increase maximum permitted vehicle name length. --- src/vehicle_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicle_type.h b/src/vehicle_type.h index 575dfef1cb..d1140220b6 100644 --- a/src/vehicle_type.h +++ b/src/vehicle_type.h @@ -73,7 +73,7 @@ enum DepotCommand { 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. */ static const uint VEHICLE_LENGTH = 8;