summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-01-14 20:00:25 +0000
committertron <tron@openttd.org>2007-01-14 20:00:25 +0000
commit968f748836f1f585badc6eb61b0bcc2f72b1e0c4 (patch)
tree837897b2871d945d8f2930440096f309071189c5 /src/station.cpp
parent13da8502c03efe9fcc3ac88081517512d878ef34 (diff)
downloadopenttd-968f748836f1f585badc6eb61b0bcc2f72b1e0c4.tar.xz
(svn r8130) Provide struct GoodsEntry with a constructor
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/station.cpp b/src/station.cpp
index dead0a1fa..3d932f087 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -52,16 +52,6 @@ Station::Station(TileIndex tile)
last_vehicle_type = VEH_Invalid;
- for (GoodsEntry *ge = goods; ge != endof(goods); ge++) {
- ge->waiting_acceptance = 0;
- ge->days_since_pickup = 0;
- ge->enroute_from = INVALID_STATION;
- ge->rating = 175;
- ge->last_speed = 0;
- ge->last_age = 0xFF;
- ge->feeder_profit = 0;
- }
-
random_bits = Random();
waiting_triggers = 0;