Mercurial > hg > openttd
changeset 19771:ee9036ca2aeb draft
(svn r24704) -Cleanup: No need to initialise stuff twice.
author | frosch <frosch@openttd.org> |
---|---|
date | Mon, 12 Nov 2012 18:10:02 +0000 |
parents | b1da9ec0970c |
children | e746a5a62bda |
files | src/station_cmd.cpp |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -3529,14 +3529,6 @@ st->rect.BeforeAddTile(tile, StationRect::ADD_FORCE); - for (CargoID j = 0; j < NUM_CARGO; j++) { - st->goods[j].acceptance_pickup = 0; - st->goods[j].days_since_pickup = 255; - st->goods[j].rating = INITIAL_STATION_RATING; - st->goods[j].last_speed = 0; - st->goods[j].last_age = 255; - } - st->UpdateVirtCoord(); UpdateStationAcceptance(st, false); st->RecomputeIndustriesNear();