mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r4460) - Newstations: remove unused class_id / stat_id variables from the
Station struct.
This commit is contained in:
parent
71b530dfe2
commit
3b6cbf62d4
@ -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;
|
||||
|
@ -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),
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user