summaryrefslogtreecommitdiff
path: root/train_cmd.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-01-17 21:54:45 +0000
committercelestar <celestar@openttd.org>2005-01-17 21:54:45 +0000
commite0471187d0645c9e1b3034944ec678e72305e477 (patch)
tree755e303bd69eb374f02087bee0e415a3f337a9c6 /train_cmd.c
parent9fadf6cf848e8b8248c945066be2fcd4efe2e349 (diff)
downloadopenttd-e0471187d0645c9e1b3034944ec678e72305e477.tar.xz
(svn r1554) -Fix: [ 1103187 ] Order Check messages are now validated before
displayed, so that there are no stray error messages any more. -Feature/Fix: Order Checking is only execute for ONE vehicle in an order-share system
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 &&