diff options
author | rubidium <rubidium@openttd.org> | 2009-06-16 13:52:18 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-06-16 13:52:18 +0000 |
commit | 512b021e261f042dccd9bdc254cd470a46e575f5 (patch) | |
tree | e78a9754bf6d326bf90b988cbe69ed74a6a763b4 /src/engine_base.h | |
parent | 4b05617c42c89a323560a0bfd9225fcac9b69588 (diff) | |
download | openttd-512b021e261f042dccd9bdc254cd470a46e575f5.tar.xz |
(svn r16581) -Codechange: unify the access to Engine::lifelength.
Diffstat (limited to 'src/engine_base.h')
-rw-r--r-- | src/engine_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine_base.h b/src/engine_base.h index bbf25b9fa..e86dea168 100644 --- a/src/engine_base.h +++ b/src/engine_base.h @@ -59,6 +59,7 @@ struct Engine : EnginePool::PoolItem<&_engine_pool> { uint GetPower() const; uint GetDisplayWeight() const; uint GetDisplayMaxTractiveEffort() const; + Date GetLifeLengthInDays() const; }; struct EngineIDMapping { |