diff options
author | michi_cc <michi_cc@openttd.org> | 2012-04-17 19:44:02 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2012-04-17 19:44:02 +0000 |
commit | 6a70abbd998ed5b54d52ddb44b4df8521413185c (patch) | |
tree | 25d404a46a68f3fa314dd27a4b9555ac4bc1a886 /src/autoreplace_base.h | |
parent | ed565853889679a409d601a61d661718ac3498cc (diff) | |
download | openttd-6a70abbd998ed5b54d52ddb44b4df8521413185c.tar.xz |
(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor)
Diffstat (limited to 'src/autoreplace_base.h')
-rw-r--r-- | src/autoreplace_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/autoreplace_base.h b/src/autoreplace_base.h index 77a31538a..5d265866d 100644 --- a/src/autoreplace_base.h +++ b/src/autoreplace_base.h @@ -37,6 +37,7 @@ struct EngineRenew : EngineRenewPool::PoolItem<&_enginerenew_pool> { EngineID to; EngineRenew *next; GroupID group_id; + bool replace_when_old; ///< Do replacement only when vehicle is old. EngineRenew(EngineID from = INVALID_ENGINE, EngineID to = INVALID_ENGINE) : from(from), to(to) {} ~EngineRenew() {} |