(svn r8026) -Fix (r2441) When taking up cargo that is transferring, trains will now also have the virtual profit deducted.

This commit is contained in:
celestar 2007-01-10 14:22:49 +00:00
parent e35fdd699b
commit 52d14b3dd0
1 changed files with 1 additions and 1 deletions

View File

@ -1476,7 +1476,7 @@ int LoadUnloadVehicle(Vehicle *v, bool just_arrived)
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;