(svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number

This commit is contained in:
yexo
2010-08-05 11:59:07 +00:00
parent 6321eb5a00
commit 330c2f979e
6 changed files with 44 additions and 3 deletions

View File

@@ -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),