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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user