(svn r20) Feature: warning when a vehicle has invalid orders (celestar)

This commit is contained in:
dominik
2004-08-11 10:15:38 +00:00
parent a778b317f6
commit 6f8e7943c5
7 changed files with 102 additions and 0 deletions

View File

@@ -2578,6 +2578,8 @@ void OnNewDay_Train(Vehicle *v)
0);
}
CheckOrders(v);
/* update destination */
if ((v->next_order & OT_MASK) == OT_GOTO_STATION &&
(tile=DEREF_STATION(v->next_order_param)->train_tile) != 0)