1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 08:29:11 +00:00

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

This commit is contained in:
frosch
2012-11-12 18:10:02 +00:00
parent e6459a91dd
commit a2980378ff

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();