diff options
author | bjarni <bjarni@openttd.org> | 2006-09-05 12:46:14 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-09-05 12:46:14 +0000 |
commit | 45467002186d715077dceff154d2de7bf41a49e3 (patch) | |
tree | f1dc943fc98d8ec1d424b1da36f4a3f224541b8e /vehicle.h | |
parent | 0c46606540e8122b8536f6df759eaaf8d4e0bf4c (diff) | |
download | openttd-45467002186d715077dceff154d2de7bf41a49e3.tar.xz |
(svn r6393) -Fix: [autoreplace] now refit costs are added to the estimated costs (could spend more than allowed when estimate and actual cost were not the same)
-Fix: [autoreplace] fixed a very rare failure when building an engine could cost more than the player could pay before selling the old one
this happened when the replacing the front cost so much that the the rear end didn't have enough money to build as expected
now the estimate keeps track of the price for the wagons/engines in front of the unit it's currently looking at
-Codechange: [autoreplace] added function to learn if and what cargo type to refit to. Needed to allow the estimation to tell refit costs
Diffstat (limited to 'vehicle.h')
0 files changed, 0 insertions, 0 deletions