summaryrefslogtreecommitdiff
path: root/roadveh_cmd.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-11 10:15:38 +0000
committerdominik <dominik@openttd.org>2004-08-11 10:15:38 +0000
commit6f8e7943c5568d4dfcc2dcac5a795e06ca4cf29f (patch)
treeea7ee7f2eac38a902c0ba16da371712222e06254 /roadveh_cmd.c
parenta778b317f6ad08f9180161b6632cc4ffeebc37f9 (diff)
downloadopenttd-6f8e7943c5568d4dfcc2dcac5a795e06ca4cf29f.tar.xz
(svn r20) Feature: warning when a vehicle has invalid orders (celestar)
Diffstat (limited to 'roadveh_cmd.c')
-rw-r--r--roadveh_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index 81ffe78ad..79d74d983 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -1540,6 +1540,8 @@ void OnNewDay_RoadVeh(Vehicle *v)
AgeVehicle(v);
CheckIfRoadVehNeedsService(v);
+ CheckOrders(v);
+
/* update destination */
if ((v->next_order & OT_MASK) == OT_GOTO_STATION) {
st = DEREF_STATION(v->next_order_param);