summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-10 18:51:56 +0000
committeryexo <yexo@openttd.org>2010-03-10 18:51:56 +0000
commit1a28aaf69eef8af1f9946caa5711b88da81ff0aa (patch)
tree448a1820b7276e90c4dfa485ad74016fe570d057 /src
parent0cf90dbeb09cdcbd2b949371c76ab488f19082e9 (diff)
downloadopenttd-1a28aaf69eef8af1f9946caa5711b88da81ff0aa.tar.xz
(svn r19381) -Fix [FS#3670] (r19198): airport size wasn't properly stored in the savegame
Diffstat (limited to 'src')
-rw-r--r--src/saveload/station_sl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp
index 72f107eb8..27131965f 100644
--- a/src/saveload/station_sl.cpp
+++ b/src/saveload/station_sl.cpp
@@ -153,8 +153,6 @@ static const SaveLoad _old_station_desc[] = {
SLE_CONDVAR(Station, train_station.tile, SLE_UINT32, 6, SL_MAX_VERSION),
SLE_CONDVAR(Station, airport.tile, SLE_FILE_U16 | SLE_VAR_U32, 0, 5),
SLE_CONDVAR(Station, airport.tile, SLE_UINT32, 6, SL_MAX_VERSION),
- SLE_CONDVAR(Station, airport.w, SLE_UINT8, 139, SL_MAX_VERSION),
- SLE_CONDVAR(Station, airport.h, SLE_UINT8, 139, SL_MAX_VERSION),
SLE_CONDVAR(Station, dock_tile, SLE_FILE_U16 | SLE_VAR_U32, 0, 5),
SLE_CONDVAR(Station, dock_tile, SLE_UINT32, 6, SL_MAX_VERSION),
SLE_REF(Station, town, REF_TOWN),
@@ -334,6 +332,8 @@ static const SaveLoad _station_desc[] = {
SLE_REF(Station, truck_stops, REF_ROADSTOPS),
SLE_VAR(Station, dock_tile, SLE_UINT32),
SLE_VAR(Station, airport.tile, SLE_UINT32),
+ SLE_CONDVAR(Station, airport.w, SLE_UINT8, 139, SL_MAX_VERSION),
+ SLE_CONDVAR(Station, airport.h, SLE_UINT8, 139, SL_MAX_VERSION),
SLE_VAR(Station, airport_type, SLE_UINT8),
SLE_VAR(Station, airport_flags, SLE_UINT64),