summaryrefslogtreecommitdiff
path: root/order_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'order_cmd.c')
-rw-r--r--order_cmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/order_cmd.c b/order_cmd.c
index dae0dd5e8..c7596b182 100644
--- a/order_cmd.c
+++ b/order_cmd.c
@@ -975,8 +975,6 @@ void RemoveOrderFromAllVehicles(OrderType type, DestinationID destination)
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;