summaryrefslogtreecommitdiff
path: root/roadveh_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-04 11:15:44 +0000
committertron <tron@openttd.org>2006-03-04 11:15:44 +0000
commit87fdb129d27b3c0ddde6fb9097c091510074671b (patch)
tree4153fe3efc35c3940fcfef3f06a03d78f4f6f97f /roadveh_cmd.c
parent4270026b4248bbaa1b1b46b099baadbd24921dd0 (diff)
downloadopenttd-87fdb129d27b3c0ddde6fb9097c091510074671b.tar.xz
(svn r3758) Remove the news validation callback. It is superseded by r3757.
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) {