Fix: Engine age is in months, not days (#10773)

This commit is contained in:
Tyler Trahan
2023-05-06 11:54:38 -04:00
committed by GitHub
parent 31d1a323ef
commit 0fc21b5686
2 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ extern EnginePool _engine_pool;
struct Engine : EnginePool::PoolItem<&_engine_pool> {
std::string name; ///< Custom name of engine.
TimerGameCalendar::Date intro_date; ///< Date of introduction of the engine.
TimerGameCalendar::Date age; ///< Age of the engine, in days.
int32 age; ///< Age of the engine in months.
uint16 reliability; ///< Current reliability of the engine.
uint16 reliability_spd_dec; ///< Speed of reliability decay between services (per day).
uint16 reliability_start; ///< Initial reliability of the engine.