diff --git a/TLM/SharedAssemblyInfo.cs b/TLM/SharedAssemblyInfo.cs index 3a0de65f5..a77d54eb4 100644 --- a/TLM/SharedAssemblyInfo.cs +++ b/TLM/SharedAssemblyInfo.cs @@ -20,4 +20,4 @@ // Minor Version // Build Number // Revision -[assembly: AssemblyVersion("11.5.1.*")] +[assembly: AssemblyVersion("11.5.2.*")] diff --git a/TLM/TLM/Custom/AI/CustomCargoTruckAI.cs b/TLM/TLM/Custom/AI/CustomCargoTruckAI.cs index 6556e2ec6..9fc8c8457 100644 --- a/TLM/TLM/Custom/AI/CustomCargoTruckAI.cs +++ b/TLM/TLM/Custom/AI/CustomCargoTruckAI.cs @@ -87,7 +87,9 @@ public bool CustomStartPathFind(ushort vehicleId, NetInfo.LaneType.Vehicle, VehicleInfo.VehicleType.Train | VehicleInfo.VehicleType.Ship - | VehicleInfo.VehicleType.Plane, + | VehicleInfo.VehicleType.Plane + | VehicleInfo.VehicleType.Ferry + | VehicleInfo.VehicleType.Helicopter, allowUnderground, false, 32f, @@ -127,7 +129,9 @@ public bool CustomStartPathFind(ushort vehicleId, NetInfo.LaneType.Vehicle, VehicleInfo.VehicleType.Train | VehicleInfo.VehicleType.Ship - | VehicleInfo.VehicleType.Plane, + | VehicleInfo.VehicleType.Plane + | VehicleInfo.VehicleType.Ferry + | VehicleInfo.VehicleType.Helicopter, undergroundTarget, false, 32f, @@ -166,7 +170,9 @@ public bool CustomStartPathFind(ushort vehicleId, const VehicleInfo.VehicleType VEHICLE_TYPES = VehicleInfo.VehicleType.Car | VehicleInfo.VehicleType.Train | VehicleInfo.VehicleType.Ship - | VehicleInfo.VehicleType.Plane; + | VehicleInfo.VehicleType.Plane + | VehicleInfo.VehicleType.Ferry + | VehicleInfo.VehicleType.Helicopter; // NON-STOCK CODE START PathCreationArgs args; diff --git a/TLM/TLM/Custom/AI/CustomPostVanAI.cs b/TLM/TLM/Custom/AI/CustomPostVanAI.cs index efb039f06..e971f9f40 100644 --- a/TLM/TLM/Custom/AI/CustomPostVanAI.cs +++ b/TLM/TLM/Custom/AI/CustomPostVanAI.cs @@ -60,7 +60,9 @@ public bool CustomStartPathFind(ushort vehicleId, // try to find other start position (plane, train, ship) const VehicleInfo.VehicleType VEH_TYPE_MASK = VehicleInfo.VehicleType.Train | VehicleInfo.VehicleType.Ship - | VehicleInfo.VehicleType.Plane; + | VehicleInfo.VehicleType.Plane + | VehicleInfo.VehicleType.Ferry + | VehicleInfo.VehicleType.Helicopter; if (PathManager.FindPathPosition( startPos, ItemClass.Service.PublicTransport, @@ -153,7 +155,9 @@ public bool CustomStartPathFind(ushort vehicleId, args.vehicleTypes = VehicleInfo.VehicleType.Car | VehicleInfo.VehicleType.Train | VehicleInfo.VehicleType.Ship - | VehicleInfo.VehicleType.Plane; + | VehicleInfo.VehicleType.Plane + | VehicleInfo.VehicleType.Ferry + | VehicleInfo.VehicleType.Helicopter; args.maxLength = 20000f; args.isHeavyVehicle = IsHeavyVehicle(); args.hasCombustionEngine = CombustionEngine();