This value is not changed when the date cheat is used, which caused issues with changing properties based on service date.
Co-authored-by: Peter Nelson <peter1138@openttd.org>
(cherry picked from commit 9a602ff304
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
5bcc71f2c2
commit
b012d1100c
@@ -320,6 +320,7 @@ public:
|
||||
Date age; ///< Age in days
|
||||
Date max_age; ///< Maximum age
|
||||
Date date_of_last_service; ///< Last date the vehicle had a service at a depot.
|
||||
Date date_of_last_service_newgrf; ///< Last date the vehicle had a service at a depot, unchanged by the date cheat to protect against unsafe NewGRF behavior.
|
||||
uint16 reliability; ///< Reliability.
|
||||
uint16 reliability_spd_dec; ///< Reliability decrease speed.
|
||||
byte breakdown_ctr; ///< Counter for managing breakdown events. @see Vehicle::HandleBreakdown
|
||||
|
Reference in New Issue
Block a user