(svn r8475) -Fix

Remove the unused remnants of blocked_months_obsolete
This commit is contained in:
tron 2007-01-31 05:01:29 +00:00
parent f5b41a2fbb
commit 5d4241db30
3 changed files with 6 additions and 6 deletions

View File

@ -603,9 +603,11 @@ static const OldChunks station_chunk[] = {
OCL_SVAR( OC_UINT8, Station, owner ),
OCL_SVAR( OC_UINT8, Station, facilities ),
OCL_SVAR( OC_UINT8, Station, airport_type ),
OCL_NULL( 2 ), // Bus/truck status, no longer in use
OCL_SVAR( OC_UINT8, Station, blocked_months_obsolete ),
OCL_NULL( 1 ), // Unknown
/* Bus/truck status, no longer in use
* Blocked months
* Unknown
*/
OCL_NULL( 4 ),
OCL_SVAR( OC_FILE_U16 | OC_VAR_U32, Station, airport_flags ),
OCL_NULL( 2 ), // last_vehicle. now last_vehicle_type

View File

@ -148,7 +148,6 @@ struct Station {
byte truck_stop_status_obsolete;
byte bus_stop_status_obsolete;
byte blocked_months_obsolete;
StationRect rect; ///< Station spread out rectangle (not saved) maintained by StationRect_xxx() functions

View File

@ -2870,8 +2870,7 @@ static const SaveLoad _station_desc[] = {
SLE_CONDVAR(Station, truck_stop_status_obsolete, SLE_UINT8, 0, 5),
SLE_CONDVAR(Station, bus_stop_status_obsolete, SLE_UINT8, 0, 5),
// blocked_months was stored here in savegame format 0 - 4.0
SLE_CONDVAR(Station, blocked_months_obsolete, SLE_UINT8, 0, 4),
SLE_CONDNULL(1, 0, 4), // Blocked months
SLE_CONDVAR(Station, airport_flags, SLE_VAR_U32 | SLE_FILE_U16, 0, 2),
SLE_CONDVAR(Station, airport_flags, SLE_UINT32, 3, SL_MAX_VERSION),