1
0
Fork 0

(svn r24704) -Cleanup: No need to initialise stuff twice.

release/1.3
frosch 2012-11-12 18:10:02 +00:00
parent e6459a91dd
commit a2980378ff
1 changed files with 0 additions and 8 deletions

View File

@ -3529,14 +3529,6 @@ void BuildOilRig(TileIndex tile)
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();