summaryrefslogtreecommitdiff
path: root/ship_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
commit6330806531ab7169d3c0f5372e68c18bbae3d05d (patch)
tree755e303bd69eb374f02087bee0e415a3f337a9c6 /ship_cmd.c
parentc2684258850df4c1ec5f471e4dfe08387998ad0f (diff)
downloadopenttd-6330806531ab7169d3c0f5372e68c18bbae3d05d.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 'ship_cmd.c')
-rw-r--r--ship_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index ba8e288ba..9b0233e93 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -145,7 +145,7 @@ void OnNewDay_Ship(Vehicle *v)
AgeVehicle(v);
CheckIfShipNeedsService(v);
- CheckOrders(v);
+ CheckOrders(v->index, OC_INIT);
if (v->vehstatus & VS_STOPPED)
return;