equal
deleted
inserted
replaced
1538 CheckVehicleBreakdown(v); |
1538 CheckVehicleBreakdown(v); |
1539 |
1539 |
1540 AgeVehicle(v); |
1540 AgeVehicle(v); |
1541 CheckIfRoadVehNeedsService(v); |
1541 CheckIfRoadVehNeedsService(v); |
1542 |
1542 |
|
1543 CheckOrders(v); |
|
1544 |
1543 /* update destination */ |
1545 /* update destination */ |
1544 if ((v->next_order & OT_MASK) == OT_GOTO_STATION) { |
1546 if ((v->next_order & OT_MASK) == OT_GOTO_STATION) { |
1545 st = DEREF_STATION(v->next_order_param); |
1547 st = DEREF_STATION(v->next_order_param); |
1546 if ((tile=(v->cargo_type==CT_PASSENGERS ? st->bus_tile : st->lorry_tile)) != 0) |
1548 if ((tile=(v->cargo_type==CT_PASSENGERS ? st->bus_tile : st->lorry_tile)) != 0) |
1547 v->dest_tile = tile; |
1549 v->dest_tile = tile; |