Departure boards: Ensure conditional order give up mode exits correctly

This commit is contained in:
Jonathan G Rennison
2022-12-02 18:48:09 +00:00
parent afd3004ea0
commit 1f544c69b5

View File

@@ -343,6 +343,7 @@ DepartureList* MakeDepartureList(StationID station, const std::vector<const Vehi
continue;
}
}
break;
}
/* If the scheduled departure date is too far in the future, stop. */
@@ -505,6 +506,7 @@ DepartureList* MakeDepartureList(StationID station, const std::vector<const Vehi
continue;
}
}
break;
}
/* If we reach the original station again, then use it as the terminus. */
@@ -753,6 +755,7 @@ DepartureList* MakeDepartureList(StationID station, const std::vector<const Vehi
continue;
}
}
break;
}
/* Skip it if it's an automatic order. */