summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-05 11:59:07 +0000
committeryexo <yexo@openttd.org>2010-08-05 11:59:07 +0000
commit330c2f979e794f751ccd0ee05256f7b788f13091 (patch)
tree549c1ac6c659b2e71e8d1da0ac8d389a599979cb /src/saveload
parent6321eb5a00be509ce0415411677b34d63d995a33 (diff)
downloadopenttd-330c2f979e794f751ccd0ee05256f7b788f13091.tar.xz
(svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/station_sl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saveload/station_sl.cpp b/src/saveload/station_sl.cpp
index 26c77f073..a57c71c55 100644
--- a/src/saveload/station_sl.cpp
+++ b/src/saveload/station_sl.cpp
@@ -335,6 +335,7 @@ static const SaveLoad _station_desc[] = {
SLE_CONDVAR(Station, airport.w, SLE_FILE_U8 | SLE_VAR_U16, 140, SL_MAX_VERSION),
SLE_CONDVAR(Station, airport.h, SLE_FILE_U8 | SLE_VAR_U16, 140, SL_MAX_VERSION),
SLE_VAR(Station, airport.type, SLE_UINT8),
+ SLE_CONDVAR(Station, airport.layout, SLE_UINT8, 145, SL_MAX_VERSION),
SLE_VAR(Station, airport.flags, SLE_UINT64),
SLE_VAR(Station, indtype, SLE_UINT8),