diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-10-22 18:34:10 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-10-22 18:34:10 +0000 |
commit | 6e1cc8092696eb73a1932d63c561abd7246eee8e (patch) | |
tree | 01407638a8a368de0291732d87e662730e879ac0 /src/vehicle_base.h | |
parent | e0f547e694978adc34f3a04e860663f908c486b5 (diff) | |
download | openttd-6e1cc8092696eb73a1932d63c561abd7246eee8e.tar.xz |
(svn r25903) -Codechange: Refactor RefreshNextHopsStats into an own class LinkRefresher.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index ddd74cec1..4c37847d9 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -150,9 +150,6 @@ private: Vehicle *next_shared; ///< pointer to the next vehicle that shares the order Vehicle *previous_shared; ///< NOSAVE: pointer to the previous vehicle in the shared order chain - uint RefreshNextHopsStats(CapacitiesMap &capacities, - RefitList &refit_capacities, const Order *first, const Order *cur, - const Order *next, uint hops, bool was_refit, bool has_cargo); public: friend const SaveLoad *GetVehicleDescription(VehicleType vt); ///< So we can use private/protected variables in the saveload code friend void FixOldVehicles(); @@ -635,8 +632,6 @@ public: void ResetRefitCaps(); - void RefreshNextHopsStats(); - /** * Copy certain configurations and statistics of a vehicle after successful autoreplace/renew * The function shall copy everything that cannot be copied by a command (like orders / group etc), |