Codechange: Define a TickCounter variable type for TimerGameTick::counter

This commit is contained in:
Tyler Trahan
2023-11-20 12:00:34 -05:00
parent bc1d49ebf4
commit 3902acb13d
3 changed files with 4 additions and 3 deletions

View File

@@ -331,7 +331,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 (based on TimerGameTick counter) the vehicle has stopped at a station and could possibly leave with any cargo loaded.
TimerGameTick::TickCounter last_loading_tick; ///< Last TimerGameTick::counter tick that 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)