# HG changeset patch # User tron # Date 1157314864 0 # Node ID 8542c62cdc79d121f45877b176f50d20992d2126 # Parent 761abc5f6acb26236fc3a91abed41464abcb67c7 (svn r6361) -Fix: When removing orders of a deleted station/depot/waypoint do not skip vehicles without an order list, because they still can have a current order and/or last visited station, which must be inspected diff --git a/order_cmd.c b/order_cmd.c --- a/order_cmd.c +++ b/order_cmd.c @@ -975,8 +975,6 @@ Order *order; bool invalidate; - if (v->orders == NULL) continue; - /* Forget about this station if this station is removed */ if (v->last_station_visited == destination && type == OT_GOTO_STATION) { v->last_station_visited = INVALID_STATION;