mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
Departure board: Skip vehicles with no orders
This commit is contained in:
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…
Reference in New Issue
Block a user