diff options
-rw-r--r-- | station.h | 2 | ||||
-rw-r--r-- | station_cmd.c | 4 | ||||
-rw-r--r-- | waypoint.c | 2 |
3 files changed, 2 insertions, 6 deletions
@@ -66,8 +66,6 @@ struct Station { // trainstation width/height byte trainst_w, trainst_h; - byte class_id; // custom graphics station class - byte stat_id; // custom graphics station id in the @class_id class uint16 build_date; //uint16 airport_flags; diff --git a/station_cmd.c b/station_cmd.c index b07d2c570..f68cfdecf 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -2817,8 +2817,8 @@ static const SaveLoad _station_desc[] = { SLE_VAR(Station,last_vehicle, SLE_UINT16), - SLE_CONDVAR(Station,class_id, SLE_UINT8, 3, SL_MAX_VERSION), - SLE_CONDVAR(Station,stat_id, SLE_UINT8, 3, SL_MAX_VERSION), + // Was custom station class and id + SLE_CONDNULL(2, 3, 25), SLE_CONDVAR(Station,build_date, SLE_UINT16, 3, SL_MAX_VERSION), SLE_CONDREF(Station,bus_stops, REF_ROADSTOPS, 6, SL_MAX_VERSION), diff --git a/waypoint.c b/waypoint.c index ea034529a..0efb9a0e3 100644 --- a/waypoint.c +++ b/waypoint.c @@ -374,8 +374,6 @@ Station *ComposeWaypointStation(TileIndex tile) stat.town = GetTown(wp->town_index); stat.string_id = wp->string == STR_NULL ? /* FIXME? */ 0 : wp->string; stat.build_date = wp->build_date; - stat.class_id = 6; - stat.stat_id = wp->stat_id; return &stat; } |