diff options
author | bjarni <bjarni@openttd.org> | 2008-01-16 13:59:08 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2008-01-16 13:59:08 +0000 |
commit | beb1b07f5fb3617f42358284acd21e768ee6ecb0 (patch) | |
tree | c89314bcb19e46242b6c20aa931d241ec6b9adea /src/string_func.h | |
parent | 2817e5425bad8e0617b48024ca42037eaf5e5e32 (diff) | |
download | openttd-beb1b07f5fb3617f42358284acd21e768ee6ecb0.tar.xz |
(svn r11875) -Fix: automatically sending aircraft to depot for autoreplace/renew is now triggered by the correct conditions
Now it triggers by the following conditions:
- aircraft is old enough for renew or needs to be autoreplaced
- player has 2*cost of new aircraft+autorenew money (we don't want to send many aircraft to hangars when there is only money for replacing one)
- aircraft has no hangars in it's order list
- new aircraft is buildable (imagine autorenewing a retired design)
This triggers right after a helicopter takes off or when a plane touches the ground while landing
Another effect of this change is that this functionality no longer generates network traffic
Diffstat (limited to 'src/string_func.h')
0 files changed, 0 insertions, 0 deletions