| 723 | } |
| 724 | |
| 725 | static OpenLoco::Vehicles::VehicleCargo importVehicleCargo(const S5::VehicleCargo& src) |
| 726 | { |
| 727 | OpenLoco::Vehicles::VehicleCargo dst{}; |
| 728 | dst.acceptedTypes = src.acceptedTypes; |
| 729 | dst.type = src.type; |
| 730 | dst.maxQty = src.maxQty; |
| 731 | dst.townFrom = static_cast<StationId>(src.townFrom); |
| 732 | dst.numDays = src.numDays; |
| 733 | dst.qty = src.qty; |
| 734 | return dst; |
| 735 | } |
| 736 | |
| 737 | static void importVehicleBogie(OpenLoco::Vehicles::VehicleBogie& dst, const S5::VehicleBogie& src) |
| 738 | { |
no outgoing calls
no test coverage detected