summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2008-01-16 13:59:08 +0000
committerbjarni <bjarni@openttd.org>2008-01-16 13:59:08 +0000
commitbeb1b07f5fb3617f42358284acd21e768ee6ecb0 (patch)
treec89314bcb19e46242b6c20aa931d241ec6b9adea /src/industry_cmd.cpp
parent2817e5425bad8e0617b48024ca42037eaf5e5e32 (diff)
downloadopenttd-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/industry_cmd.cpp')
0 files changed, 0 insertions, 0 deletions