Mercurial > hg > openttd
changeset 5579:97ea1805fec7 draft
(svn r8026) -Fix (r2441) When taking up cargo that is transferring, trains will now also have the virtual profit deducted.
author | celestar <celestar@openttd.org> |
---|---|
date | Wed, 10 Jan 2007 14:22:49 +0000 |
parents | 86e578b330aa |
children | 1c57c05f51bd |
files | src/economy.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/economy.c +++ b/src/economy.c @@ -1476,7 +1476,7 @@ feeder_profit_share = ge->feeder_profit * cargoshare / 10000; v->cargo_count += cap; ge->waiting_acceptance -= cap; - v->profit_this_year -= feeder_profit_share; + u->profit_this_year -= feeder_profit_share; ge->feeder_profit -= feeder_profit_share; unloading_time += cap; st->time_since_load = 0;