summaryrefslogtreecommitdiff
path: root/roadveh_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r--roadveh_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index b12debae4..d4b485709 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -1595,7 +1595,7 @@ void OnNewDay_RoadVeh(Vehicle *v)
AgeVehicle(v);
CheckIfRoadVehNeedsService(v);
- CheckOrders(v->index, OC_INIT);
+ CheckOrders(v);
//Current slot has expired
if (v->u.road.slot_age-- == 0 && v->u.road.slot != NULL) {