summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/station_cmd.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 7cb577767..263bf49c0 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -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();