summaryrefslogtreecommitdiff
path: root/train_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'train_cmd.c')
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 06c09ce6e..783b5bbd0 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -2756,7 +2756,7 @@ void OnNewDay_Train(Vehicle *v)
0);
}
- CheckOrders(v);
+ CheckOrders(v->index, OC_INIT);
/* update destination */
if (v->current_order.type == OT_GOTO_STATION &&