Fix #9665: [Linkgraph] Fix travel times of non-direct journeys

This commit is contained in:
Nicolas Chappe
2021-11-13 20:09:05 +01:00
committed by Michael Lutz
parent c5369caa45
commit f8a7b76675
5 changed files with 12 additions and 1 deletions

View File

@@ -315,6 +315,7 @@ public:
StationID last_station_visited; ///< The last station we stopped at.
StationID last_loading_station; ///< Last station the vehicle has stopped at and could possibly leave from with any cargo loaded.
uint64_t last_loading_tick; ///< Last time (relative to _tick_counter) the vehicle has stopped at a station and could possibly leave with any cargo loaded.
CargoID cargo_type; ///< type of cargo this vehicle is carrying
byte cargo_subtype; ///< Used for livery refits (NewGRF variations)