equal
deleted
inserted
replaced
1479 CheckVehicleBreakdown(v); |
1479 CheckVehicleBreakdown(v); |
1480 |
1480 |
1481 AgeVehicle(v); |
1481 AgeVehicle(v); |
1482 CheckIfRoadVehNeedsService(v); |
1482 CheckIfRoadVehNeedsService(v); |
1483 |
1483 |
1484 CheckOrders(v); |
1484 CheckOrders(v->index, OC_INIT); |
1485 |
1485 |
1486 /* update destination */ |
1486 /* update destination */ |
1487 if (v->current_order.type == OT_GOTO_STATION) { |
1487 if (v->current_order.type == OT_GOTO_STATION) { |
1488 st = GetStation(v->current_order.station); |
1488 st = GetStation(v->current_order.station); |
1489 if ((tile=(v->cargo_type==CT_PASSENGERS ? st->bus_tile : st->lorry_tile)) != 0) |
1489 if ((tile=(v->cargo_type==CT_PASSENGERS ? st->bus_tile : st->lorry_tile)) != 0) |