diff options
author | frosch <frosch@openttd.org> | 2008-04-08 15:48:32 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-04-08 15:48:32 +0000 |
commit | 96700d560560215ec24d283d774f7dbaa11c384c (patch) | |
tree | aa0aa02603f911329fcc1e70972dd58ae153c69a /src/vehicle_func.h | |
parent | 71a2dd21fd7cb180022ce10793bbbf144d499bdd (diff) | |
download | openttd-96700d560560215ec24d283d774f7dbaa11c384c.tar.xz |
(svn r12629) -Codechange: Split VehicleNeedsService() into Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
Diffstat (limited to 'src/vehicle_func.h')
-rw-r--r-- | src/vehicle_func.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vehicle_func.h b/src/vehicle_func.h index 28355dc11..460f30f5e 100644 --- a/src/vehicle_func.h +++ b/src/vehicle_func.h @@ -66,8 +66,6 @@ void TrainConsistChanged(Vehicle *v); void TrainPowerChanged(Vehicle *v); Money GetTrainRunningCost(const Vehicle *v); -bool VehicleNeedsService(const Vehicle *v); - uint GenerateVehicleSortList(const Vehicle*** sort_list, uint16 *length_of_array, VehicleType type, PlayerID owner, uint32 index, uint16 window_type); void BuildDepotVehicleList(VehicleType type, TileIndex tile, Vehicle ***engine_list, uint16 *engine_list_length, uint16 *engine_count, Vehicle ***wagon_list, uint16 *wagon_list_length, uint16 *wagon_count); CommandCost SendAllVehiclesToDepot(VehicleType type, uint32 flags, bool service, PlayerID owner, uint16 vlw_flag, uint32 id); |