(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

@@ -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);