Departure board: Skip vehicles with no orders

pull/182/head
Jonathan G Rennison 4 years ago
parent c35f620746
commit c0e267973f

@ -236,6 +236,7 @@ DepartureList* MakeDepartureList(StationID station, const std::vector<const Vehi
/* Get the first order for each vehicle for the station we're interested in that doesn't have No Loading set. */
/* We find the least order while we're at it. */
for (const Vehicle *v : vehicles) {
if (v->GetNumOrders() == 0) continue;
if (show_pax != show_freight) {
bool carries_passengers = false;

Loading…
Cancel
Save