summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-07 21:39:30 +0000
committerrubidium <rubidium@openttd.org>2010-08-07 21:39:30 +0000
commit2b645d1b0de7a01e02ed4e978df684b8bb6741d6 (patch)
treead79e568b0fe76b50568119971d7470a3fb5df58 /src/newgrf_station.h
parent5be1f3f06c2d1204afad529d523d8b4cc47a7e2d (diff)
downloadopenttd-2b645d1b0de7a01e02ed4e978df684b8bb6741d6.tar.xz
(svn r20404) -Codechange: remove the need for StationSpec::allocated
Diffstat (limited to 'src/newgrf_station.h')
-rw-r--r--src/newgrf_station.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/newgrf_station.h b/src/newgrf_station.h
index b80584d8e..1c49dde18 100644
--- a/src/newgrf_station.h
+++ b/src/newgrf_station.h
@@ -48,11 +48,8 @@ typedef byte *StationLayout;
/** Station specification. */
struct StationSpec {
GRFFilePropsBase grf_prop; ///< Properties related the the grf file
-
- bool allocated; ///< Flag whether this station has been added to a station class list
-
- StationClassID cls_id; ///< The class to which this spec belongs.
- StringID name; ///< Name of this station.
+ StationClassID cls_id; ///< The class to which this spec belongs.
+ StringID name; ///< Name of this station.
/**
* Bitmask of number of platforms available for the station.