summaryrefslogtreecommitdiff
path: root/engine.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-15 16:55:40 +0000
committerrubidium <rubidium@openttd.org>2006-08-15 16:55:40 +0000
commitf4762cdae438d6756648324412d6798b1e646d9b (patch)
tree01a9595835d95746ba82d0ce12e16c393bd99f4e /engine.h
parent7d2ceb2063a4769fb92882a8851ed26267fa1e62 (diff)
downloadopenttd-f4762cdae438d6756648324412d6798b1e646d9b.tar.xz
(svn r5919) -Cleanup: use the type Date when the variable really is a date
Diffstat (limited to 'engine.h')
-rw-r--r--engine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine.h b/engine.h
index ba58d9567..c62c1900a 100644
--- a/engine.h
+++ b/engine.h
@@ -74,7 +74,7 @@ typedef struct RoadVehicleInfo {
* @see table/engines.h
*/
typedef struct EngineInfo {
- uint16 base_intro;
+ Date base_intro;
byte unk2; ///< Carriages have the highest bit set in this one
byte lifelength;
byte base_life;
@@ -87,8 +87,8 @@ typedef struct EngineInfo {
} EngineInfo;
typedef struct Engine {
- uint16 intro_date;
- uint16 age;
+ Date intro_date;
+ Date age;
uint16 reliability;
uint16 reliability_spd_dec;
uint16 reliability_start, reliability_max, reliability_final;