summaryrefslogtreecommitdiff
path: root/src/station.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-04-20 08:00:30 +0000
committerrubidium <rubidium@openttd.org>2007-04-20 08:00:30 +0000
commitfdf86bb4a2682eca65d6eefe89c7023cd91d7630 (patch)
treee4ded69f86472e9bdd57f0fb69b501f675b34a9a /src/station.h
parenta8350e5fdf4e11599bfadfed80775aa6639b1322 (diff)
downloadopenttd-fdf86bb4a2682eca65d6eefe89c7023cd91d7630.tar.xz
(svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains.
Diffstat (limited to 'src/station.h')
-rw-r--r--src/station.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/station.h b/src/station.h
index 3cff76b8a..87b0b1154 100644
--- a/src/station.h
+++ b/src/station.h
@@ -11,6 +11,7 @@
#include "sprite.h"
#include "tile.h"
#include "newgrf_station.h"
+#include <list>
static const StationID INVALID_STATION = 0xFFFF;
static const byte INITIAL_STATION_RATING = 175;
@@ -157,6 +158,7 @@ struct Station {
StationID index;
byte last_vehicle_type;
+ std::list<Vehicle *> loading_vehicles;
GoodsEntry goods[NUM_CARGO];
uint16 random_bits;