summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-23 21:29:25 +0000
committerdominik <dominik@openttd.org>2004-08-23 21:29:25 +0000
commit74852c465286441595ef7356a2ecd8c8f5a48cb5 (patch)
treec245b79d0ed15b98fc918dfe0de02edac9750b2a /station_cmd.c
parent4c0f46b5c75e30e4ccc2592b11ad747d34b645bb (diff)
downloadopenttd-74852c465286441595ef7356a2ecd8c8f5a48cb5.tar.xz
(svn r124) Prepared code for removal of block_months variable in next major savegame version
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 03e92d380..bab692386 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2510,7 +2510,9 @@ static const byte _station_desc[] = {
SLE_VAR(Station,airport_type, SLE_UINT8),
SLE_VAR(Station,truck_stop_status, SLE_UINT8),
SLE_VAR(Station,bus_stop_status, SLE_UINT8),
- SLE_VAR(Station,blocked_months, SLE_UINT8),
+
+ // blocked_months was stored here in savegame format 0 - 4.0
+ SLE_CONDVAR(Station,blocked_months_obsolete, SLE_UINT8, 0, 4),
SLE_CONDVAR(Station,airport_flags, SLE_VAR_U32 | SLE_FILE_U16, 0, 2),
SLE_CONDVAR(Station,airport_flags, SLE_UINT32, 3, 255),